summaryrefslogtreecommitdiffstats
path: root/.github/workflows/python-package.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/python-package.yml')
-rw-r--r--.github/workflows/python-package.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml
index 0856a38..7f709b2 100644
--- a/.github/workflows/python-package.yml
+++ b/.github/workflows/python-package.yml
@@ -17,9 +17,15 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
+ - name: Create a virtual environment
+ run: |
+ python -m venv .venv
- name: Install dependencies
run: |
+ source ./.venv/bin/activate
python -m pip install --upgrade pip
make install-dev
- name: Run checks (linter, code style, tests)
- run: make check
+ run: |
+ source ./.venv/bin/activate
+ make check