-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
69 additions
and
220 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: 'Get and Run Tests' | ||
description: 'Gets test infos for a specific directory and runs the tests' | ||
inputs: | ||
directories: | ||
description: 'Directories to search for tests' | ||
required: true | ||
exclude-dirs: | ||
description: 'Directories to exclude from the search' | ||
required: false | ||
default: '' | ||
include_npm: | ||
description: 'Whether to include npm tests' | ||
required: true | ||
os: | ||
description: 'Operating systems to run tests on' | ||
required: true | ||
ethereum_url: | ||
description: 'Ethereum URL for tests' | ||
required: true | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- id: get-test-infos | ||
uses: ./.github/actions/get_test_infos | ||
with: | ||
directories: ${{ inputs.directories }} | ||
exclude-dirs: ${{ inputs.exclude-dirs }} | ||
|
||
- name: Run tests | ||
uses: ./.github/workflows/run-test.yml | ||
with: | ||
test_infos: ${{ steps.get-test-infos.outputs.test-infos }} | ||
include_npm: ${{ inputs.include_npm }} | ||
os: ${{ inputs.os }} | ||
ethereum_url: ${{ inputs.ethereum_url }} |
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