Skip to content

Commit

Permalink
allow make to use selected python version
Browse files Browse the repository at this point in the history
  • Loading branch information
time4tea committed Dec 29, 2023
1 parent 312df7d commit 7fe6918
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt install fonts-roboto ffmpeg
make venv req
PYTHONVERSION=${{matrix.version}} make venv req
- name: Test with pytest
run: |
PYTHONVERSION=${{matrix.version}} make ci
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ test:

.PHONY: ci
ci:
@echo python version is $(PYTHONVERSION)
CI=true PYTHONPATH=. $(BIN)/pytest --capture sys --show-capture all tests

.PHONY: check
Expand All @@ -46,6 +45,7 @@ flake:
venv: venv/.installed

venv/.installed:
@echo python version is $(PYTHONVERSION)
$(PYTHON) -m venv venv
touch $@

Expand Down

0 comments on commit 7fe6918

Please sign in to comment.