Skip to content

Commit

Permalink
feat: use chainsaw test sharding
Browse files Browse the repository at this point in the history
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
  • Loading branch information
eddycharly committed Oct 8, 2024
1 parent 7a219c1 commit f1773f2
Show file tree
Hide file tree
Showing 8 changed files with 187 additions and 1,431 deletions.
18 changes: 16 additions & 2 deletions .github/actions/run-tests/action.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
name: "Runs E2E Tests"
description: "Runs E2E tests using chainsaw"
inputs:
path:
description: Tests path
default: '.'
tests:
description: "Test regex"
required: true
default: ''
shard-index:
description: Shard index
default: '0'
shard-count:
description: Shard count
default: '0'
runs:
using: "composite"
steps:
Expand All @@ -17,4 +26,9 @@ runs:
shell: bash
run: |
set -e
chainsaw test --config .chainsaw.yaml --include-test-regex '^chainsaw$/${{ inputs.tests }}' --no-color=false
chainsaw test ${{ inputs.path }} \
--config .chainsaw.yaml \
--include-test-regex '^chainsaw$/${{ inputs.tests }}' \
--shard-index ${{ inputs.shard-index }} \
--shard-count ${{ inputs.shard-count }} \
--no-color=false
34 changes: 0 additions & 34 deletions .github/workflows/check-codegen.yml

This file was deleted.

Loading

0 comments on commit f1773f2

Please sign in to comment.