Skip to content

Commit e2a56dc

Browse files
committed
fix
1 parent ac0389e commit e2a56dc

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,16 @@ jobs:
7979
run: apk add --no-cache git curl python3 py3-pip
8080
- name: Checkout
8181
uses: actions/checkout@v4
82+
- name: Create virtual environment
83+
run: python -m venv .venv
8284
- name: Install Python dependencies
83-
run: pip install -r app/requirements.txt
85+
run: |
86+
source .venv/bin/activate
87+
pip install -r app/requirements.txt
8488
- name: Run tests and collect coverage
85-
run: pytest --cov app ${{ env.CODECOV_ATS_TESTS }}
89+
run: |
90+
source .venv/bin/activate
91+
pytest --cov app ${{ env.CODECOV_ATS_TESTS }}
8692
- name: Upload coverage to Codecov
8793
run: ./dist/codecov.sh
8894
env:

0 commit comments

Comments
 (0)