Skip to content

Add actions

Add actions #8

Workflow file for this run

name: Run Qadence fast tests.
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch: {}
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test_qadence_ubuntu:
name: Test Qadence (ubuntu)
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Select Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Hatch
run: |
pip install hatch
- name: Run fast tests
run: |
hatch -v run test -m "not slow"
- name: Publish coverage
uses: codecov/codecov-action@v3