Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JGoutin committed May 8, 2024
1 parent 3ae8af8 commit b43e1cc
Show file tree
Hide file tree
Showing 3 changed files with 557 additions and 540 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
python-version: [ "3.x" ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
id: cache
with:
path: ${{ env.CACHE_DIR }}
Expand Down Expand Up @@ -78,29 +78,31 @@ jobs:
fail-fast: false
matrix:
os:
- "ubuntu-latest"
- "ubuntu-22.04"
- "ubuntu-20.04"
- "windows-2019"
- "windows-2022"
- "macos-12"
- "macos-13"
- "macos-14"
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.x"
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
id: cache
with:
path: ${{ env.CACHE_DIR }}
Expand All @@ -119,7 +121,7 @@ jobs:
if: ${{ always() }}

- name: Collect coverage report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4

publish:
runs-on: ubuntu-latest
Expand All @@ -132,15 +134,15 @@ jobs:
environment: PyPI
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
id: cache
with:
path: ${{ env.CACHE_DIR }}
Expand Down
Loading

0 comments on commit b43e1cc

Please sign in to comment.