Retain date adjusts for mgc cli tests #86
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 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 }} |