Skip to content

[CHORE] update test workflow, contribution guides #6

[CHORE] update test workflow, contribution guides

[CHORE] update test workflow, contribution guides #6

Workflow file for this run

# TODO : add test job - using coverage
name: test sources before publish
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
jobs:
test-fastapi-fastkit-sources:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.13" # max
- "3.12"
- "3.11"
- "3.10"
- "3.9"
- "3.8" # min
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Setup PDM
uses: pdm-project/setup-pdm@v4
- name: Install dependencies
run: pdm install
- name: Run tests
run: pdm run pytest