Skip to content

update tests and logs #28

update tests and logs

update tests and logs #28

Workflow file for this run

name: Python CI
on:
push:
branches:
- master
jobs:
computer-simulator:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Run tests and coverage
run: |
poetry run pytest --verbose
poetry run coverage run -m pytest
poetry run coverage report
- name: Run mypy checks
run: poetry run mypy .
- name: Check code formatting
run: poetry run ruff format --check .
- name: Run code linting
run: |
poetry run ruff check .