forked from osbuild/osbuild
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 948 Bytes
/
test.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
name: Tests
on: [pull_request, push]
jobs:
test_suite:
name: "Unittest"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
test:
- "test.mod"
- "test.run.test_assemblers"
- "test.run.test_boot"
- "test.run.test_devices"
- "test.run.test_executable"
- "test.run.test_mount"
- "test.run.test_noop"
- "test.run.test_sources"
- "test.run.test_stages"
- "-k stages/test"
environment:
- "py36"
- "py39"
- "py311"
- "py312"
steps:
- name: "Clone Repository"
uses: actions/checkout@v3
- name: "Run"
uses: osbuild/containers/src/actions/privdocker@552e30cf1b4ed19c6ddaa57f96c342b3dff4227b
with:
image: ghcr.io/osbuild/osbuild-ci:latest-202308241910
run: |
TEST_CATEGORY="${{ matrix.test }}" \
tox -e "${{ matrix.environment }}"