forked from shakenfist/shakenfist
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request shakenfist#2386 from shakenfist/rework-functional-…
…tests Attempt to express functional tests as a matrix.
- Loading branch information
Showing
14 changed files
with
805 additions
and
1,754 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Documentation tests | ||
|
||
# NOTE(mikal): git repos are checked out to /srv/github/_work/{repo}/{repo} | ||
# which is available as GITHUB_WORKSPACE. You can find other environment | ||
# variables at https://docs.github.com/en/actions/learn-github-actions/environment-variables | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
- v*-releases | ||
paths: | ||
- 'docs/**' | ||
|
||
jobs: | ||
lint: | ||
runs-on: self-hosted | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }}-lint | ||
cancel-in-progress: true | ||
|
||
steps: | ||
- name: Checkout code with two commits | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: Ensure the docs build | ||
run: | | ||
cd ${GITHUB_WORKSPACE}/shakenfist | ||
/usr/bin/tox -edocs | ||
zip site.zip site | ||
- uses: actions/upload-artifact@v4 | ||
if: always() | ||
with: | ||
name: site.zip | ||
retention-days: 90 | ||
if-no-files-found: error | ||
path: site.zip |
Oops, something went wrong.