summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Matusiak <numerodix@gmail.com>2021-05-05 18:18:39 +1000
committerMartin Matusiak <numerodix@gmail.com>2021-05-05 18:18:39 +1000
commit3d8e353b810b666efaf6d4182100398b4a2916f5 (patch)
tree6cb6cfa8bf190a9af28b27fcc13270bf0374e70f
parent917bc82a6d83c44719854742c8040257d90a5dc5 (diff)
downloadansicolor-3d8e353b810b666efaf6d4182100398b4a2916f5.tar.gz
try using a venv
-rw-r--r--.github/workflows/github-actions.yml6
-rw-r--r--.gitignore1
2 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml
index 57c3b47..accff4e 100644
--- a/.github/workflows/github-actions.yml
+++ b/.github/workflows/github-actions.yml
@@ -14,6 +14,8 @@ jobs:
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- - run: pip3 install -r dev-requirements.txt
- - run: py.test -v
+ - run: sudo apt-get install python3-venv
+ - run: python -m venv ve
+ - run: ve/bin/pip install -r dev-requirements.txt
+ - run: ve/bin/py.test -v
- run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file
diff --git a/.gitignore b/.gitignore
index 22ea07a..eae77ce 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,5 +7,6 @@ build/
dist/
docs/_build/
htmlcov/
+ve/
.vscode/