Skip to content

Commit

Permalink
Update test.yml codecov version (#59)
Browse files Browse the repository at this point in the history
ci: ⬆️ upgrade various github action version
  • Loading branch information
dubusster authored Nov 19, 2024
1 parent f279420 commit 4d12de9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache Dependencies
id: cache-dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: 3rd_64
key: ${{ github.ref }}-3rd_64
Expand All @@ -43,7 +43,7 @@ jobs:
run: ./build.sh

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: install-librir-ubuntu-latest-${{ inputs.compiler || 'latest' }}
path: build/install
4 changes: 2 additions & 2 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: windows-latest

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


- name: Install compiler ${{ inputs.compiler || 'clang' }}
Expand All @@ -48,7 +48,7 @@ jobs:
run: ./build.bat

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: install-librir-windows-latest-${{ inputs.compiler || 'clang' }}
path: build/install
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:

- name: Set up Python ${{ inputs.python-version }}

uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}

- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: install-librir-${{ inputs.os }}-${{ inputs.compiler || 'latest' }}
path: build/install
Expand All @@ -50,10 +50,10 @@ jobs:
python -m pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=librir tests/python -m "not thermavip" | tee pytest-coverage.txt
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

# - name: Pytest coverage comment
# uses: MishaKav/pytest-coverage-comment@main
# with:
Expand Down

0 comments on commit 4d12de9

Please sign in to comment.