Skip to content

Commit 8f2e530

Browse files
DEBUG - add workflow to filter tests
1 parent 042c5ab commit 8f2e530

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/run_single_test.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Run Chosen Pytest
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
run-pytest:
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
cloud-provider: [aws, azure, gcp]
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: '3.11'
20+
21+
- name: Setup parameters file
22+
shell: bash
23+
env:
24+
PARAMETERS_SECRET: ${{ secrets.PARAMETERS_SECRET }}
25+
run: |
26+
gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
27+
.github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py
28+
29+
- name: Install dependencies
30+
run: |
31+
python -m pip install ".[development,aio,secure-local-storage]"
32+
33+
- name: Run pytest with input arguments
34+
run: |
35+
pytest -vvv -k "ocsp_mode" .

0 commit comments

Comments
 (0)