-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (50 loc) · 1.37 KB
/
pull-request-test.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
51
52
53
54
name: Run Test - Pull Request
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
run-tests:
strategy:
fail-fast: true
matrix:
category:
- acl
- cold_storage
- basic
- presign
- bucket_versioning
- locking and mgc
# - policy
uses: ./.github/workflows/run-tests.yml
with:
tests: "*_test.py"
config: "../params.example.yaml"
flags: "-v -n auto --color yes -m '${{ matrix.category }}' --tb=line"
secrets:
PROFILES: ${{ secrets.PROFILES }}
tests-success:
runs-on: ubuntu-24.04
needs: [run-tests]
steps:
- name: ok
run:
exit 0
# since locking is a feature currently under preview, we run it separatedely
# and dont block merges if they fail
run-locking-tests:
strategy:
fail-fast: false
matrix:
category:
- not cli and locking
config:
- "../params/br-ne1.yaml"
- "../params/br-se1.yaml"
uses: ./.github/workflows/run-tests.yml
with:
tests: "*_test.py"
config: "${{ matrix.config }}"
# no multiple workers here just to make it easier to audit the logs (more verbosity with INFO level)
flags: "-v --log-cli-level INFO --color yes -m '${{ matrix.category }}'"
secrets:
PROFILES: ${{ secrets.PROFILES }}