Skip to content

Commit

Permalink
Update poetry in CI-CD (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
taconi committed Sep 5, 2021
1 parent 94e2e00 commit 0c9a463
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/test.yml
Expand Up @@ -20,14 +20,19 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
if [ -f poetry.lock ]; then poetry install; fi

- name: Install Poetry
uses: Gr1N/setup-poetry@v4

- name: Disables creation of virtualenvs
run: poetry config virtualenvs.create false

- name: Install dependencies
run: poetry install

- name: run lint
run: |
poetry run make check
make check
- name: run tests
run: |
poetry run make test
make test

0 comments on commit 0c9a463

Please sign in to comment.