.gitea/workflows/UnitTests.yaml aktualisiert
Some checks failed
Gitea Actions Demo / Run Tests (push) Failing after 21s
Some checks failed
Gitea Actions Demo / Run Tests (push) Failing after 21s
This commit is contained in:
parent
46956e971c
commit
8913e63997
@ -17,6 +17,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies if requirements.txt exists
|
- name: Install dependencies if requirements.txt exists
|
||||||
run: |
|
run: |
|
||||||
|
python3 -m venv venv
|
||||||
|
source venv/bin/activate
|
||||||
if [ -f requirements.txt ]; then
|
if [ -f requirements.txt ]; then
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
else
|
else
|
||||||
@ -25,4 +27,5 @@ jobs:
|
|||||||
|
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: |
|
run: |
|
||||||
|
source venv/bin/activate
|
||||||
python3 -m unittest tests.py
|
python3 -m unittest tests.py
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user