Skip to content

Commit

Permalink
Update GitHub actions (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamreeve authored Jan 25, 2024
1 parent 35d84e6 commit 47d9d8c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install tox
Expand All @@ -34,24 +34,24 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install tox
run: pip install tox
- name: Compute TOXENV
id: toxenv
run: echo "::set-output name=toxenv::py$(tr -d . <<< ${{ matrix.python }})"
run: echo "toxenv=py$(tr -d . <<< ${{ matrix.python }})" >> $GITHUB_OUTPUT
shell: bash
- name: Run tests
run: tox
env:
TOXENV: ${{ steps.toxenv.outputs.toxenv }}
- name: Upload coverage to Codecov
if: ${{ !(github.event_name == 'push' && github.event.repository.fork) }}
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
env_vars: OS,PYTHON
env:
Expand All @@ -65,9 +65,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Create package
Expand Down

0 comments on commit 47d9d8c

Please sign in to comment.