-
Notifications
You must be signed in to change notification settings - Fork 9
46 lines (40 loc) · 1.08 KB
/
tests.yml
File metadata and controls
46 lines (40 loc) · 1.08 KB
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
45
46
name: Run test suite
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
name: "Python ${{ matrix.python-version }} with ${{ matrix.session }}"
strategy:
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.13t"
- "3.14"
- "3.14t"
session: ["memory", "localstack"] # TODO: we don't test against production AWS
steps:
- name: Start Docker container with localstack
if: matrix.session == 'localstack'
run: docker run -d -p 4566:9324 --rm softwaremill/elasticmq-native
- name: Checkout Repo
uses: actions/checkout@v5
with:
fetch-depth: 1
- name: Set up uv
uses: astral-sh/setup-uv@v7
with:
version: "0.9.8"
python-version: ${{ matrix.python-version }}
- name: Install project
run: uv sync --group dev
- name: Test with pytest
run: uv run pytest -vv -k ${{ matrix.session }}