-
Notifications
You must be signed in to change notification settings - Fork 296
38 lines (36 loc) · 1017 Bytes
/
ci-core.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
# Contrinuous Integration for the core package
name: testcontainers core
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
strategy:
matrix:
runtime:
# - machine: ubuntu-latest
# python-version: "3.7"
# - machine: ubuntu-latest
# python-version: "3.8"
- machine: ubuntu-latest
python-version: "3.9"
# - machine: ubuntu-latest
# python-version: "3.10"
# - machine: ubuntu-latest
# python-version: "3.11"
runs-on: ${{ matrix.runtime.machine }}
steps:
- uses: actions/checkout@v4
- name: Setup Poetry
run: pipx install poetry
- name: Setup python ${{ matrix.runtime.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.runtime.python-version }}
cache: poetry
- name: Install Python dependencies
run: poetry install
- name: Run tests
run: make core/tests