Skip to content

Commit

Permalink
CI: Update used actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ales-erjavec committed Oct 19, 2023
1 parent 6eeebf0 commit 240fac3
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ jobs:
test-env: "PyQt6~=6.5.0 PyQt6-Qt6~=6.5.0"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -140,7 +140,7 @@ jobs:
run: sudo apt-get install -y libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 libegl1-mesa libxcb-shape0 libxcb-cursor0 $PACKAGES

- name: Setup Pip Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: .pip-cache
key: ${{ runner.os }}-py-${{ matrix.python-version }}-pip-${{ hashFiles('setup.*', '.github/workflows/test-workflow.yml') }}
Expand All @@ -150,7 +150,7 @@ jobs:
- name: Install Test Deps
env:
TEST_ENV: ${{ matrix.test-env }}
TEST_DEPS: pytest pytest-cov codecov wheel
TEST_DEPS: pytest pytest-cov wheel
run: python -m pip install $TEST_DEPS $TEST_ENV
shell: bash

Expand All @@ -176,4 +176,10 @@ jobs:
ANYQT_HOOK_BACKPORT=PyQt4 python -c "import AnyQt.QtCore, PyQt4"
- name: Upload Coverage
run: codecov
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
- name: Upload Coverage
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true

0 comments on commit 240fac3

Please sign in to comment.