Skip to content

Commit 56223b0

Browse files
authored
Merge pull request shakenfist#2386 from shakenfist/rework-functional-tests
Attempt to express functional tests as a matrix.
2 parents 67afe0d + 682fbf8 commit 56223b0

14 files changed

+805
-1754
lines changed

.github/workflows/ansible-module-tests.yml

Lines changed: 0 additions & 215 deletions
This file was deleted.

.github/workflows/configure-tests.py

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -89,36 +89,6 @@
8989
'scheduled': False
9090
},
9191
],
92-
'functional-tests': [
93-
{
94-
'name': 'debian-11-localhost',
95-
'baseimage': 'sf://label/ci-images/debian-11',
96-
'baseuser': 'debian',
97-
'topology': 'localhost',
98-
'concurrency': 3
99-
},
100-
{
101-
'name': 'debian-12-slim-primary',
102-
'baseimage': 'sf://label/ci-images/debian-12',
103-
'baseuser': 'debian',
104-
'topology': 'slim-primary',
105-
'concurrency': 5
106-
},
107-
{
108-
'name': 'ubuntu-2004-localhost',
109-
'baseimage': 'sf://label/ci-images/ubuntu-2004',
110-
'baseuser': 'ubuntu',
111-
'topology': 'localhost',
112-
'concurrency': 3
113-
},
114-
{
115-
'name': 'ubuntu-2204-slim-primary',
116-
'baseimage': 'sf://label/ci-images/ubuntu-2204',
117-
'baseuser': 'ubuntu',
118-
'topology': 'slim-primary',
119-
'concurrency': 5
120-
},
121-
],
12292
'scheduled-tests': [
12393
{
12494
'name': 'develop-debian-11-localhost',

.github/workflows/docs-tests.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Documentation tests
2+
3+
# NOTE(mikal): git repos are checked out to /srv/github/_work/{repo}/{repo}
4+
# which is available as GITHUB_WORKSPACE. You can find other environment
5+
# variables at https://docs.github.com/en/actions/learn-github-actions/environment-variables
6+
7+
on:
8+
pull_request:
9+
branches:
10+
- develop
11+
- v*-releases
12+
paths:
13+
- 'docs/**'
14+
15+
jobs:
16+
lint:
17+
runs-on: self-hosted
18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.ref }}-lint
20+
cancel-in-progress: true
21+
22+
steps:
23+
- name: Checkout code with two commits
24+
uses: actions/checkout@v4
25+
with:
26+
fetch-depth: 2
27+
28+
- name: Ensure the docs build
29+
run: |
30+
cd ${GITHUB_WORKSPACE}/shakenfist
31+
/usr/bin/tox -edocs
32+
zip site.zip site
33+
34+
- uses: actions/upload-artifact@v4
35+
if: always()
36+
with:
37+
name: site.zip
38+
retention-days: 90
39+
if-no-files-found: error
40+
path: site.zip

0 commit comments

Comments
 (0)