-
Notifications
You must be signed in to change notification settings - Fork 83
39 lines (31 loc) · 907 Bytes
/
atest.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
name: Acceptance tests
on:
push:
branches: [master,debug]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9.19, 3.10.14, 3.11.9, 3.12.4]
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --user pdm
pdm install
- name: Start test environment
run: |
pdm testenv &
echo "Waiting for test server to become available..."
curl --retry 5 --retry-connrefused --retry-delay 5 http://localhost:8273
- name: Run acceptance tests
run: pdm atest