Skip to content

Add Models and Project for RAT API #6

Add Models and Project for RAT API

Add Models and Project for RAT API #6

Workflow file for this run

name: Run Unit Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
version: ["3.9", "3.x"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python version ${{ matrix.version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
run: |
pip install pytest pytest-cov
pytest tests/ --cov=${{ github.event.repository.name }} --cov-report=html:htmlcov