Skip to content

chore: v1.2.0 prep. #27

chore: v1.2.0 prep.

chore: v1.2.0 prep. #27

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://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: linux
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r development.txt
pip install codecov
pip freeze
- name: Lint with ruff
run: |
ruff check
- name: Test with pytest
run: |
pytest
- name: Upload coverage results
run: |
codecov