Skip to content

Commit 78e1a26

Browse files
committed
Fix RHEL8 test by updating pip
1 parent c561037 commit 78e1a26

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.github/workflows/tests.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,17 @@ jobs:
9797
- name: Install Python 3.9 and Git from AppStream
9898
run: yum install -y python39-devel python39-pip python39-pip-wheel python39 git
9999
- uses: actions/checkout@v4
100-
- name: Install Testing Requirements
101-
run: python3.9 -m pip install nox
102-
- name: Run Tests
103-
run: python3.9 -m nox -e tests
104-
# - name: Upload to codecov
105-
# uses: codecov/codecov-action@v5
106-
# with:
107-
# token: ${{ secrets.CODECOV_TOKEN }}
108-
# fail_ci_if_error: true
100+
- name: Test
101+
run: |
102+
python3.9 -m venv .venv
103+
. .venv/bin/activate
104+
pip install --upgrade pip nox
105+
nox -e tests
106+
- name: Upload to codecov
107+
uses: codecov/codecov-action@v5
108+
with:
109+
token: ${{ secrets.CODECOV_TOKEN }}
110+
fail_ci_if_error: true
109111

110112
rhel9-system-python:
111113
name: rhel9-system-python

0 commit comments

Comments
 (0)