Skip to content

Test

Test #43

Workflow file for this run

name: Test
on:
pull_request:
branches:
- main
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Dependencies
run: sudo apt install -y libmariadb-dev
- name: Install Hatch
uses: pypa/hatch@install
- name: Up Test DB Containers
run: |
pushd tests
docker compose up -d --wait
popd
- name: Test App
run: hatch test --all
- name: Check Types
run: hatch run types:check