This repository was archived by the owner on Jan 19, 2024. It is now read-only.
forked from testcontainers/testcontainers-python
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (42 loc) · 1.33 KB
/
requirements.yml
File metadata and controls
43 lines (42 loc) · 1.33 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
name: testcontainers requirements
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
requirements:
strategy:
fail-fast: false
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"
- machine: windows-latest
python-version: "3.10"
- machine: macos-latest
python-version: "3.10"
runs-on: ${{ matrix.runtime.machine }}
steps:
- uses: actions/checkout@v3
- name: Setup python ${{ matrix.runtime.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.runtime.python-version }}
- name: Update pip and install pip-tools
run: pip install --upgrade pip pip-tools
- name: Build requirements
run: pip-compile --resolver=backtracking -v --upgrade -o requirements.txt
- name: Store requirements as artifact
uses: actions/upload-artifact@v3
with:
name: requirements-${{ matrix.runtime.machine }}-${{ matrix.runtime.python-version }}.txt
path: requirements.txt