Merge pull request #257 from nspcc-dev/ezayats/common-tests-workflow #165
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 | |
types: [opened, synchronize] | |
paths-ignore: | |
- '**/*.md' | |
release: | |
types: | |
- published | |
workflow_dispatch: | |
inputs: | |
neofs_rest_gw_ref: | |
description: 'neofs-rest-gw ref. Default ref - latest master. Examples: v0.27.0, 8fdcc6d7e798e6511be8806b81894622e72d7fdc, branch_name' | |
required: false | |
default: '' | |
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: 'master' | |
neofs_node_commit: 'c6a3201722521b99338548e388fa043889c714ad' | |
neofs_rest_gw_commit: ${{ github.event.inputs.neofs_rest_gw_ref }} | |
tests_path: 'pytest_tests/tests/services/rest_gate' | |
tests_parallel_level: 1 | |
os: '[{runner: "ubuntu-latest", binary: "linux-amd64"}, {runner: "macos-14", binary: "darwin-arm64"}]' | |
secrets: inherit |