Fix test workflow

This commit is contained in:
Gonçalo Valério 2022-04-01 19:54:32 +01:00
parent 366d7acec8
commit 9fea295f24
Signed by: dethos
GPG Key ID: DF557F2BDCC2445E
2 changed files with 16 additions and 17 deletions

View File

@ -1,7 +1,7 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python # This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application name: Test application
on: on:
push: push:
@ -14,7 +14,6 @@ permissions:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -27,7 +26,7 @@ jobs:
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install poetry pip install poetry
poetry install poetry install --dev
- name: Test with pytest - name: Test with pytest
run: | run: |
pytest pytest