Repository navigation
56 lines (51 loc) · 1.55 KB
/
Copy pathci.yml
File metadata and controls
56 lines (51 loc) · 1.55 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
47
48
49
50
51
52
53
54
55
56
name: Run Tests
on:
push:
branches:
- "main"
- "master"
pull_request:
branches:
- "main"
- "master"
jobs:
run:
runs-on: ${{ matrix.config.os }}
name: ${{matrix.config.os }} (${{ matrix.config.py }})
strategy:
fail-fast: false
matrix:
config:
- {os: ubuntu-latest, py: '3.8'}
- {os: ubuntu-latest, py: '3.9'}
- {os: ubuntu-latest, py: '3.10'}
- {os: ubuntu-latest, py: '3.11'}
- {os: ubuntu-latest, py: '3.12'}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.config.py }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.config.py }}
- name: Pull containers
run: |
docker pull redis:5.0
docker pull vimc/orderly.server:master
docker pull vimc/orderly-web:master
docker pull vimc/orderly-web-proxy:master
docker pull vimc/orderly-web-css-generator:master
docker pull vimc/orderly-web-user-cli:master
docker pull mrcide/outpack.orderly:main
docker pull mrcide/outpack_server:main
docker pull mrcide/packit-db:main
docker pull mrcide/packit-api:main
docker pull mrcide/montagu-packit:main
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install hatch
- name: Test
env:
VAULT_TEST_GITHUB_PAT: ${{ secrets.VAULT_TEST_GITHUB_PAT }}
run: |
hatch run cov-ci