Skip to content

Commit 94d1dd9

Browse files
committed
simplify build by moving away from setting up and configuring poetry on every job run
1 parent f4a16d4 commit 94d1dd9

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ jobs:
1010
matrix:
1111
python-version: ['3.6', '3.7', '3.8', '3.9']
1212
os: ['ubuntu-20.04', 'macos-10.15', 'windows-2019']
13-
include:
14-
- os: ['ubuntu-20.04', 'macos-10.15']
15-
poetry-path: ['$HOME/.poetry/bin']
16-
- os: ['windows-2019']
17-
poetry-path: ['%USERPROFILE%\.poetry\bin']
1813
fail-fast: false
1914
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
2015
runs-on: ${{ matrix.os }}
@@ -25,17 +20,15 @@ jobs:
2520
uses: actions/setup-python@v2
2621
with:
2722
python-version: ${{ matrix.python-version }}
28-
- name: Install poetry
29-
run: make get-poetry
30-
- name: Enable poetry command
31-
run: echo "${{ matrix.poetry-path }}" >> $GITHUB_PATH
32-
- name: Configure poetry
33-
run: poetry config virtualenvs.create false # disable creating virtual environment
3423
- name: Install dependencies
35-
run: make install
24+
run: pip install -r requirements-dev.txt
25+
shell: bash
3626
- name: Check code formatting
3727
run: black --check .
28+
shell: bash
3829
- name: Lint code
3930
run: make lint
31+
shell: bash
4032
- name: Run tests with code coverage
4133
run: make coverage
34+
shell: bash

0 commit comments

Comments
 (0)