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 85f415c
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 1,069 deletions.
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: auto # Optional
aws-endpoint: https://b9261d7f75d36ec3c0ae559737628538.eu.r2.cloudflarestorage.com # Optional
aws-s3-bucket-endpoint: false # Optional
aws-s3-force-path-style: true # Optional

- name: Run tests
run: |
pytest -ra
Expand Down
120 changes: 0 additions & 120 deletions fastf1/tests/test_cache.py

This file was deleted.

Loading

0 comments on commit 85f415c

Please sign in to comment.