-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(Chore): Re-enable squawk linux arm tests (#877)
Follow-up to #875. They now support it in [v1.4.0](https://github.com/sbdchd/squawk/releases/tag/v1.4.0)!
- Loading branch information
1 parent
32ecb67
commit 0f4799e
Showing
3 changed files
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
import semver from "semver"; | ||
import { linterCheckTest } from "tests"; | ||
|
||
// No release for squawk on arm64 linux https://github.com/sbdchd/squawk/issues/372 | ||
// Squawk first supported linux arm in 1.4.0 https://github.com/sbdchd/squawk/issues/372 | ||
linterCheckTest({ | ||
linterName: "squawk", | ||
skipTestIf: () => process.arch === "arm64" && process.platform === "linux", | ||
skipTestIf: (version) => | ||
process.arch === "arm64" && | ||
process.platform === "linux" && | ||
version !== undefined && | ||
semver.lt(version, "1.4.0"), | ||
}); |
File renamed without changes.