-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (31 loc) · 909 Bytes
/
smoketests.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
# This workflow will install Python dependencies, run pytests and run notebooks
# then it will in python 3.9 (ubuntu-latest) create a badge with the coverage
# and add it to the PR. This badge will be updated if the PR is updated.
name: smoketests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
smoketests:
runs-on: ubuntu-latest
strategy:
matrix:
invoke_command: ["smoketest-docker", "smoketest-cli"]
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install invoke
run: |
python -m pip install --upgrade pip
pip install invoke
- name: Run integration test
shell: bash
run: |
pip install .
inv ${{ matrix.invoke_command }}