Skip to content

format tests, send to /login on logout #12

format tests, send to /login on logout

format tests, send to /login on logout #12

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
strategy:
max-parallel: 6
matrix:
os: [ ubuntu-latest ]
python-version: [ '3.10' ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov
pip install -r requirements.txt
- name: Run unit tests
run: |
python -m pytest tests/ --cov=BookingSystem --cov-report=xml
- uses: codecov/codecov-action@v3
with:
file: ./coverage.xml