Skip to content

test Unit Part 1

test Unit Part 1 #2

Workflow file for this run

name: CI
on:
push:
branches:
- development
pull_request:
branches:
- development
jobs:
test:
runs-on: ubuntu-latest
steps:
# Checkout the code
- name: Checkout code
uses: actions/checkout@v2
# Set up Python environment
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
# Install dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
# Run the tests
- name: Run tests with pytest
run: |
pytest --maxfail=5 --disable-warnings