-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (40 loc) · 1022 Bytes
/
test_services.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: CI
on:
push:
branches:
- main
pull_request:
merge_group:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test_services:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
service:
- mqt-ddsim
- mqt-qcec
- mqt-qmap
- mqt-bench
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.11.x
cache: "pip"
- name: Create and activate conda environment
run: |
pip install -U pip setuptools wheel virtualenv
python -m virtualenv .venv
source .venv/bin/activate
- name: Install dependencies
run: pip install -r ${{ matrix.service }}/requirements.txt
- name: Run service
working-directory: ${{ matrix.service }}
run: python -m src