Skip to content

Add ci for pull requests #3

Add ci for pull requests

Add ci for pull requests #3

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.11", "3.12"]
container:
image: "fedora:latest"
steps:
- uses: actions/checkout@v3
- name: "Install python ${{ matrix.python-version }}"
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: "Install dependencies"
run: |
dnf -y install make
python -m pip install hatch
make system/fedora
- name: Run unittests
run: hatch run +py=${{ matrix.python-version }} test:unit