Skip to content

Commit 483f7ef

Browse files
committed
update test runners to use poetry
1 parent 80854e3 commit 483f7ef

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/run-tests.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
with:
1212
python-version: '3.x'
1313
- name: Install dependencies
14-
run: |
15-
python -m pip install --upgrade pip setuptools wheel
16-
pip install -r requirements.txt -vvv
17-
pip install -I flake8
14+
run: |
15+
python -m pip install --upgrade pip
16+
python -m pip install poetry
17+
poetry install
1818
- name: Style Checks
1919
run: flake8 tom_* --exclude=*/migrations/* --max-line-length=120
2020

@@ -30,10 +30,10 @@ jobs:
3030
with:
3131
python-version: ${{ matrix.python-version }}
3232
- name: Install dependencies
33-
run: |
34-
python -m pip install --upgrade pip setuptools wheel
35-
pip install -r requirements.txt coveralls
36-
pip install -I flake8
33+
run: |
34+
python -m pip install --upgrade pip
35+
python -m pip install poetry
36+
poetry install
3737
- name: Run Tests
3838
run: python manage.py test --exclude-tag=canary
3939

@@ -45,10 +45,10 @@ jobs:
4545
with:
4646
python-version: 3.9
4747
- name: Install dependencies
48-
run: |
49-
python -m pip install --upgrade pip setuptools wheel
50-
pip install -r requirements.txt coverage coveralls
51-
pip install -I flake8
48+
run: |
49+
python -m pip install --upgrade pip
50+
python -m pip install poetry
51+
poetry install
5252
- name: Run Tests
5353
run: coverage run --include=tom_* manage.py test --exclude-tag=canary
5454
- name: Report Coverage

0 commit comments

Comments
 (0)