Skip to content

chore: Add GitHub Actions workflows for code formatting, testing, and CodeQL analysis #6

chore: Add GitHub Actions workflows for code formatting, testing, and CodeQL analysis

chore: Add GitHub Actions workflows for code formatting, testing, and CodeQL analysis #6

Workflow file for this run

name: Run Tests
on:
workflow_dispatch:
pull_request:
branches:
- main
jobs:
run_tests:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Install Python 3
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
pip install -e .
- name: Run tests with pytest
run: coverage run -m pytest test
- name: Print coverage report
run: coverage report -m