55
66jobs :
77 run-pytest :
8- runs-on : ubuntu-latest
98 strategy :
109 fail-fast : false
1110 matrix :
1211 cloud-provider : [aws, azure, gcp]
12+ os :
13+ - image : ubuntu-latest
14+ id : lububuntu
15+ - image : windows-latest
16+ id : windows
17+ - image : macos-latest
18+ id : macos
19+ python-version : ["3.10"]
20+ name : Custom pytest on ${{ matrix.os.id }}-py${{ matrix.python-version }}-${{ matrix.cloud-provider }}
21+ runs-on : ${{ matrix.os.image }}
1322 steps :
1423 - name : Checkout code
1524 uses : actions/checkout@v4
1625
1726 - name : Set up Python
1827 uses : actions/setup-python@v5
1928 with :
20- python-version : ' 3.11'
29+ python-version : ${{ matrix.python-version }}
30+
31+ - name : Set up Java
32+ uses : actions/setup-java@v4 # for wiremock
33+ with :
34+ java-version : 11
35+ distribution : ' temurin'
36+ java-package : ' jre'
37+
38+ - name : Fetch Wiremock
39+ shell : bash
40+ run : curl https://repo1.maven.org/maven2/org/wiremock/wiremock-standalone/3.11.0/wiremock-standalone-3.11.0.jar --output .wiremock/wiremock-standalone.jar
2141
2242 - name : Setup parameters file
2343 shell : bash
@@ -26,26 +46,27 @@ jobs:
2646 run : |
2747 gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
2848 .github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py
29- - name : Setup private key file
30- shell : bash
31- env :
32- PYTHON_PRIVATE_KEY_SECRET : ${{ secrets.PYTHON_PRIVATE_KEY_SECRET }}
33- run : |
34- gpg --quiet --batch --yes --decrypt --passphrase="$PYTHON_PRIVATE_KEY_SECRET" \
35- .github/workflows/parameters/public/rsa_keys/rsa_key_python_${{ matrix.cloud-provider }}.p8.gpg > test/rsa_key_python_${{ matrix.cloud-provider }}.p8
3649
37- # - name: Setup private key file
50+ # - name: Setup private key file (old)
3851# shell: bash
3952# env:
40- # PARAMETERS_SECRET : ${{ secrets.PARAMETERS_SECRET }}
53+ # PYTHON_PRIVATE_KEY_SECRET : ${{ secrets.PYTHON_PRIVATE_KEY_SECRET }}
4154# run: |
42- # gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET " \
55+ # gpg --quiet --batch --yes --decrypt --passphrase="$PYTHON_PRIVATE_KEY_SECRET " \
4356# .github/workflows/parameters/public/rsa_keys/rsa_key_python_${{ matrix.cloud-provider }}.p8.gpg > test/rsa_key_python_${{ matrix.cloud-provider }}.p8
57+ - name : Setup private key file (main)
58+ shell : bash
59+ env :
60+ PARAMETERS_SECRET : ${{ secrets.PARAMETERS_SECRET }}
61+ run : |
62+ gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
63+ .github/workflows/parameters/public/rsa_keys/rsa_key_python_${{ matrix.cloud-provider }}.p8.gpg > test/rsa_key_python_${{ matrix.cloud-provider }}.p8
4464
4565 - name : Install dependencies
4666 run : |
47- python -m pip install ".[development,aio,secure-local-storage]"
67+ python -m pip install uv
68+ python -m uv pip install ".[development,aio,secure-local-storage,pandas]"
4869
4970 - name : Run pytest
5071 run : |
51- pytest -vvv -k "file_permission" .
72+ pytest test/integ/aio_it/test_put_get_with_aws_token_async.py test/integ/test_put_get_with_aws_token.py test/integ/aio_it/test_large_put_async.py::test_put_copy_large_files -vv -n auto
0 commit comments