Fixes CI/CD
This commit is contained in:
9
.github/workflows/python-tests.yml
vendored
9
.github/workflows/python-tests.yml
vendored
@@ -4,8 +4,7 @@
|
||||
name: Python application
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main", "develop" ]
|
||||
push
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -24,8 +23,8 @@ jobs:
|
||||
python-version: "3.8"
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip pipenv
|
||||
if [ -f Pipfile ]; then pipenv install; fi
|
||||
python -m pip install --upgrade pip poetry
|
||||
python -m poetry install
|
||||
- name: Test with unittest
|
||||
run: |
|
||||
pipenv run python -m unittest -v
|
||||
poetry run python -m unittest -v
|
||||
Reference in New Issue
Block a user