Run automated system tests #2058
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
name: Run automated system tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
- support/** | |
types: [opened, synchronize] | |
paths-ignore: | |
- '**/*.md' | |
release: | |
types: | |
- published | |
workflow_dispatch: | |
inputs: | |
neofs_node_ref: | |
description: 'neofs-node ref. Default: master/PR. Examples: v0.36.0, 8fdcc6d7e798e6511be8806b81894622e72d7fdc, branch_name' | |
required: false | |
default: '' | |
neofs_testcases_ref: | |
description: 'neofs-testcases ref. Default: master. Examples: v0.36.0, 8fdcc6d7e798e6511be8806b81894622e72d7fdc, branch_name' | |
required: false | |
default: 'master' | |
run_all_tests: | |
description: 'Force running all tests, by default PRs trigger sanity test runs only' | |
required: false | |
default: 'false' | |
permissions: write-all | |
jobs: | |
run_system_tests: | |
uses: nspcc-dev/neofs-testcases/.github/workflows/system-tests.yml@master | |
with: | |
neofs_network_domain: ${{ vars.TEST_RESULTS_NEOFS_NETWORK_DOMAIN }} | |
neofs_http_gate: ${{ vars.TEST_RESULTS_HTTP_GATE }} | |
neofs_store_objects_cid: ${{ vars.TEST_RESULTS_CID }} | |
neofs_pr_expiration_period: ${{ vars.PR_EXPIRATION_PERIOD }} | |
neofs_master_expiration_period: ${{ vars.MASTER_EXPIRATION_PERIOD }} | |
neofs_manual_expiration_period: ${{ vars.MANUAL_RUN_EXPIRATION_PERIOD }} | |
neofs_other_expiration_period: ${{ vars.OTHER_EXPIRATION_PERIOD }} | |
neofs_testcases_commit: ${{ github.event.inputs.neofs_testcases_ref }} | |
neofs_node_commit: ${{ github.event.inputs.neofs_node_ref }} | |
marks: ${{ !github.event.inputs.run_all_tests && github.event_name == 'pull_request' && 'sanity' || '' }} | |
tests_parallel_level: 3 | |
os: '[{runner: "ubuntu-latest", binary: "linux-amd64"}, {runner: "macos-14", binary: "darwin-arm64"}]' | |
secrets: inherit |