Skip to content

Commit

Permalink
ci: use venv
Browse files Browse the repository at this point in the history
  • Loading branch information
JJTech0130 authored May 19, 2024
1 parent 819437f commit 38cb524
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,18 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Activate virtualenv
run: |
. .venv/bin/activate
echo PATH=$PATH >> $GITHUB_ENV
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e '.[tests]'
pip install --upgrade pip
pip install -e '.[tests]'
- name: Test with pytest
run: |
pytest

0 comments on commit 38cb524

Please sign in to comment.