Test automation-test

This commit is contained in:
Benjamin Harder
2023-10-02 22:20:17 +02:00
parent f86fd48ddc
commit 9096624168

View File

@@ -11,19 +11,22 @@ on:
jobs:
unit-tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: 'pytest src/utils/'
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
- name: Install pip and pytest
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov
- name: Test with pytest
run: |
pip install pytest pytest-cov
pytest -vv
pytest test_nest_functions.py -vv
build:
runs-on: ubuntu-latest