Skip to content

ci(project.toml): version to 0.3.5 #54

ci(project.toml): version to 0.3.5

ci(project.toml): version to 0.3.5 #54

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.7.1"
- name: Install dependencies
run: |
poetry install
- name: ruff
run: |
poetry run ruff . --fix --exit-non-zero-on-fix
- name: Run tests
run: |
poetry run python -m unittest discover -s tests
# - name: Upload coverage reports to Codecov with GitHub Action
# uses: codecov/codecov-action@v3
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}