Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
theOehrly committed Sep 22, 2023
1 parent 0250bb3 commit e56e5c9
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11']
python-version: ['3.11']
name: Tests on ${{ matrix.python-version }}
steps:
- name: Setup python
Expand Down Expand Up @@ -53,6 +53,21 @@ jobs:
restore-keys: |
fastf1-${{ matrix.python-version }}
- name: Cache multiple paths
uses: whywaita/actions-cache-s3@v2
with:
path: ./test_cache
key: fastf1-${{ matrix.python-version }}-${{ hashFiles('*.*') }}
restore-keys: |
fastf1-${{ matrix.python-version }}
aws-s3-bucket: ${{ secrets.CLOUDFLARE_R2_BUCKET_NAME }}
aws-access-key-id: ${{ secrets.CLOUDFLARE_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.CLOUDFLARE_SECRET_ACCESS_KEY }}
# aws-region: us-east-1 # Optional
aws-endpoint: ${{ vars.CLOUDFLARE_API_ENDPOINT }} # Optional
aws-s3-bucket-endpoint: false # Optional
aws-s3-force-path-style: true # Optional

- name: Run tests
run: |
pytest -ra
Expand Down

0 comments on commit e56e5c9

Please sign in to comment.