-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (43 loc) · 1.17 KB
/
integration-tests.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
43
44
name: Integration tests
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
branches: [main, v/*]
jobs:
integration-tests:
name: Integration tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
steps:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Dependencies
run: |
pip install --upgrade pip
pip install --no-cache-dir "poetry==1.8.3"
poetry install --no-root --no-interaction --no-ansi --without docs
- name: Execute Tests
run: poetry run task integration-tests