-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (30 loc) · 868 Bytes
/
Copy pathtest.yml
File metadata and controls
37 lines (30 loc) · 868 Bytes
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
name: tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.13"]
steps:
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Run fast tests
run: pytest -v -m "not slow and not requires_ibm"
- name: Run slow regression tests
if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
run: pytest -v -m "slow and not requires_ibm"