Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump GitHub Action version references #49

Merged
merged 4 commits into from
Sep 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@v1
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -29,36 +29,37 @@ jobs:
- name: Test with tox
run: tox
- name: Upload coverage data
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.python-version }}
path: .coverage*
path: '.coverage.*'
retention-days: 1
include-hidden-files: true

report:
needs: build
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v1
uses: actions/checkout@v4
- name: Download artifacts
uses: actions/download-artifact@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/download-artifact@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.11
- name: Install dependencies
run: |
pip install coverage
- name: Compile coverage data
run: |
mv coverage-*/.coverage* .
mv coverage-*/.coverage.* .
coverage combine
coverage html
coverage report
- name: Upload coverage report
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: htmlcov
path: htmlcov
Expand Down