-
Notifications
You must be signed in to change notification settings - Fork 1
66 lines (62 loc) · 1.75 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
55
56
57
58
59
60
61
62
63
64
65
66
name: Run Test - Pull Request
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
run-tests:
strategy:
fail-fast: true
matrix:
category:
- cold_storage
- basic
- presign
- bucket_versioning
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
# tests that for one reason or another we dont want to make it a blocker for PRs
# it may be because they are slow, or because tey include features still in preview/not fully
# launched
run-extra-tests-locking:
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 }}
run-extra-tests-others:
strategy:
fail-fast: false
matrix:
category:
- policy
- acl
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 }}