Skip to content

Commit

Permalink
convert circleci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac Boyd committed Jul 23, 2024
1 parent da3bbb3 commit 4c4fc02
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/actions/build-and-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ runs:
run: yarn build
shell: bash

- name: Run the tests on this version of Node.
run: |-
set -uex
TESTFILES=$(circleci tests glob lib/**/*.spec.ts | circleci tests split --split-by=timings)
yarn ci:test $TESTFILES
- name: Find and run test files
run: |
TESTFILES=$(find lib -name '*.spec.ts')
for file in $TESTFILES; do
yarn test $file
done
env:
JEST_JUNIT_OUTPUT_DIR: "./test-reports/jest"
JEST_JUNIT_OUTPUT_NAME: ${{ github.sha }}_node${{ inputs.node_version }}_results.xml
Expand Down

0 comments on commit 4c4fc02

Please sign in to comment.