Skip to content

Enable tests via hatch and use them in github workflow #1

Enable tests via hatch and use them in github workflow

Enable tests via hatch and use them in github workflow #1

Workflow file for this run

name: Pytest
on:
workflow_dispatch:
pull_request:
types:
- opened
- reopened
- synchronize
branches:
- '**'
paths:
- 'qupulse_mfli/**y'
- 'tests/**'
- 'pyproject.toml'
jobs:
run:
name: "tests"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install hatch
run: |
python -m pip install hatch
- name: Tests
run: python -m hatch run test