Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/platform-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
type: string
default: ""
required: false
test-files-glob:
type: string
default: ""
required: false
working-directory:
type: string
default: .
Expand Down Expand Up @@ -41,7 +45,7 @@ jobs:
run: |
set +e
export RUN_ALL_PLATFORM_TESTS=1
npx vitest ./test/platform/${{ inputs.subtest }} \
npx vitest ./test/platform/${{ inputs.test-files-glob || inputs.subtest }} \
--run \
--reporter=default \
--reporter=json \
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/pr-build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ on:
type: boolean
default: false
required: false
test-files-glob:
type: string
default: ""
required: false

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -65,7 +69,7 @@ jobs:
run: |
export ACTOR_BUILDS='${{ steps.build.outputs.actor_builds }}'
export RUN_PLATFORM_TESTS=1
npx vitest ./test/platform --run --maxConcurrency 20 --fileParallelism=true --maxWorkers 100
npx vitest ./test/platform/${{ inputs.test-files-glob }} --run --maxConcurrency 20 --fileParallelism=true --maxWorkers 100

# NOTE: This is an optimization that if we did functional changes and later only cosmetic changes (e.g. dev readme), we will compare changes files only for the last commit. This must run after tests because we want to cache the latest commit only if the tests are successful
- name: Store last validated commit to cache
Expand Down