File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Run custom 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
+ - name : Setup private key file
29
+ shell : bash
30
+ env :
31
+ PYTHON_PRIVATE_KEY_SECRET : ${{ secrets.PYTHON_PRIVATE_KEY_SECRET }}
32
+ run : |
33
+ gpg --quiet --batch --yes --decrypt --passphrase="$PYTHON_PRIVATE_KEY_SECRET" \
34
+ .github/workflows/parameters/public/rsa_keys/rsa_key_python_${{ matrix.cloud-provider }}.p8.gpg > test/rsa_key_python_${{ matrix.cloud-provider }}.p8
35
+
36
+ - name : Install dependencies
37
+ run : |
38
+ python -m pip install ".[development,aio,secure-local-storage]"
39
+
40
+ - name : Run pytest
41
+ run : |
42
+ pytest -vvv -k "file_permission" .
You can’t perform that action at this time.
0 commit comments