Skip to content

Commit bb94d0f

Browse files
committed
Updated GitHub Actions with pipenv
1 parent 225aeb0 commit bb94d0f

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/bdd-tests.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ jobs:
4141

4242
- name: Install dependencies
4343
run: |
44-
python -m pip install -U pip poetry
45-
poetry config virtualenvs.create false
46-
poetry install
44+
python -m pip install -U pip pipenv
45+
pipenv install --system --dev
4746
4847
- name: Run the service locally
4948
run: |

.github/workflows/tdd-tests.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ jobs:
4242

4343
- name: Install dependencies
4444
run: |
45-
python -m pip install -U pip poetry
46-
poetry config virtualenvs.create false
47-
poetry install
45+
python -m pip install -U pip pipenv
46+
pipenv install --system --dev
4847
4948
- name: Run Code Quality Checks
5049
run: |
@@ -57,7 +56,7 @@ jobs:
5756
5857
- name: Run unit tests with pytest
5958
run: |
60-
pytest --pspec --cov=service --cov-fail-under=95 --disable-warnings
59+
pytest --pspec --cov=service --cov-fail-under=95 --disable-warnings --cov-report=xml
6160
env:
6261
FLASK_APP: "wsgi:app"
6362
DATABASE_URI: "postgresql+psycopg://postgres:pgs3cr3t@postgres:5432/testdb"

0 commit comments

Comments
 (0)