Updated version numbers in workflow

This commit is contained in:
Antoine Nguyen
2024-04-24 07:23:34 +02:00
parent 0d6507e2dc
commit 8fec73ebba

View File

@@ -15,9 +15,9 @@ jobs:
fail-fast: false fail-fast: false
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2 uses: actions/setup-python@v5
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install dependencies - name: Install dependencies
@@ -33,7 +33,7 @@ jobs:
coverage run tests.py coverage run tests.py
- name: Upload coverage result - name: Upload coverage result
if: ${{ matrix.python-version == '3.11' }} if: ${{ matrix.python-version == '3.11' }}
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v4
with: with:
name: coverage-results name: coverage-results
path: .coverage path: .coverage
@@ -42,16 +42,16 @@ jobs:
needs: test needs: test
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v5
with: with:
python-version: '3.11' python-version: '3.11'
- name: Install dependencies - name: Install dependencies
run: | run: |
pip install codecov pip install codecov
- name: Download coverage results - name: Download coverage results
uses: actions/download-artifact@v2 uses: actions/download-artifact@v4
with: with:
name: coverage-results name: coverage-results
- name: Report coverage - name: Report coverage