Skip to content

First workflow (tests) (#20) #1

First workflow (tests) (#20)

First workflow (tests) (#20) #1

Workflow file for this run

name: MainTests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: python install
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: uv and install deps
run: |
pip install uv
uv venv
uv sync --extra test
env:
VIRTUAL_ENV: .venv
PATH: .venv/bin:$PATH
- name: main runner
run: |
.venv/bin/python -m pytest --doctest-modules
env:
VIRTUAL_ENV: .venv
PATH: .venv/bin:$PATH