-
Notifications
You must be signed in to change notification settings - Fork 38
50 lines (47 loc) · 1.85 KB
/
run-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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