Skip to content

Commit 5c42b2a

Browse files
Add a basic integration test workflow.
1 parent 36819b6 commit 5c42b2a

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Run integration tests
2+
on:
3+
push:
4+
branches:
5+
- 'main'
6+
pull_request:
7+
branches:
8+
- 'main'
9+
10+
jobs:
11+
integration-test:
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
python-version: ["3.10", "3.11", "3.12", "3.13"]
16+
poetry-version: ["latest", "main", "1.8.4"]
17+
os: [ubuntu-22.04, macos-latest, windows-latest]
18+
runs-on: ${{ matrix.os }}
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: actions/setup-python@v5
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
- name: Run image
25+
uses: abatilo/actions-poetry@v3
26+
with:
27+
poetry-version: ${{ matrix.poetry-version }}
28+
- name: Install all extras for running tests.
29+
run: poetry install --all-extras -v
30+
- name: Run tests
31+
env:
32+
ARACHNID_SHIELD_USERNAME: ${{ secrets.ARACHNID_SHIELD_CI_USERNAME }}
33+
ARACHNID_SHIELD_PASSWORD: ${{ secrets.ARACHNID_SHIELD_CI_PASSWORD }}
34+
ARACHNID_SHIELD_URL: ${{ secrets.ARACHNID_SHIELD_CI_URL }}
35+
run: |
36+
poetry run pytest -m '' tests -ss

0 commit comments

Comments
 (0)