Skip to content

Commit

Permalink
Initial test GH action.
Browse files Browse the repository at this point in the history
  • Loading branch information
RolandMacDoland committed Sep 22, 2023
1 parent c7c8d5f commit 6372d6f
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Test Qadence.

on:
pull_request:
branches:
- main
- develop
push:
branches:
- develop
schedule:
# 03:00 every Saturday morning
- cron: '0 3 * * 6'
workflow_dispatch: {}

concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
build_test_pytket_ubuntu:
name: Build and test pytket (ubuntu)
needs: check_changes
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 tests
run: |
hatch -v run tests

0 comments on commit 6372d6f

Please sign in to comment.