Skip to content

Github action

Github action #23

Workflow file for this run

name: 'Unit tests'
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: |
**/pyproject.toml
- name: Install library and dependencies
shell: bash
run: |
python -m pip install --upgrade pip
pip install .[dev]
ground_slash init
- name: Pytest & coverage
shell: bash
run: |
pytest src/tests/