Skip to content

Add tests

Add tests #116

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
grep -v 'crvusdsim' requirements.txt > temp_requirements.txt
python -m pip install -r temp_requirements.txt
python -m pip install git+https://github.com/Tcintra/crvusdsim@main --no-deps
- name: Run Black
run: black --check .
- name: Run Pylint
run: pylint src
- name: Run Mypy
run: mypy src
# TODO add pytest checks and install requirements.txt