-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start a test suite so the guessing can be test-driven
Refs #31
- Loading branch information
1 parent
f02513c
commit 6e98a7f
Showing
7 changed files
with
1,132 additions
and
61 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -142,6 +142,28 @@ jobs: | |
- name: 'Run the linter' | ||
run: npx eslint . --max-warnings 0 | ||
|
||
test: | ||
name: 'test' | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 30 | ||
if: github.event_name != 'schedule' | ||
|
||
steps: | ||
- name: 'Checkout code' | ||
uses: actions/[email protected] | ||
|
||
- name: 'Set up Node.js' | ||
uses: actions/[email protected] | ||
with: | ||
node-version-file: package.json | ||
cache: ${{ !env.ACT && 'npm' || '' }} | ||
|
||
- name: 'Install dependencies' | ||
run: npm ci | ||
|
||
- name: 'Run the tests' | ||
run: npx vitest run | ||
|
||
typecheck: | ||
name: 'Typecheck' | ||
runs-on: ubuntu-22.04 | ||
|
@@ -175,6 +197,7 @@ jobs: | |
- build-image | ||
- format | ||
- lint | ||
- test | ||
- typecheck | ||
|
||
steps: | ||
|
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
Oops, something went wrong.