Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippRue authored Dec 10, 2024
1 parent 36aec12 commit 3191aeb
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ jobs:
continue-on-error: ${{ matrix.allow-failure }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python 3.10
uses: actions/setup-python@v4.6.0
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Cache python dependencies
id: cache-pip
uses: actions/cache@v3.3.1
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip-docs-${{ hashFiles('**/pyproject.toml') }}
Expand Down Expand Up @@ -72,19 +72,19 @@ jobs:
continue-on-error: ${{ matrix.allow-failure }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache python dependencies
id: cache-pip
uses: actions/cache@v3.3.1
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip-pre-commit-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
pip-pre-commit-
- name: Set up Python 3.8
uses: actions/setup-python@v4.6.0
uses: actions/setup-python@v5
with:
python-version: 3.8

Expand Down Expand Up @@ -137,15 +137,15 @@ jobs:

- name: Cache python dependencies
id: cache-pip
uses: actions/cache@v3.3.1
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip-${{ matrix.python-version }}${{ matrix.add-name }}-tests-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
pip-${{ matrix.python-version }}${{ matrix.add-name }}-tests
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4.6.0
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -169,9 +169,9 @@ jobs:
run: pytest ${{ matrix.pytest-cmdline }}

- name: Upload to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: failure()
with:
name: matplotlib-comparison-${{ matrix.python-version }}${{ matrix.add-name }}
Expand Down

0 comments on commit 3191aeb

Please sign in to comment.