-
Notifications
You must be signed in to change notification settings - Fork 1.1k
38 lines (35 loc) · 1002 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
38
name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
container: ghcr.io/tuna/thuthesis-test-env
steps:
- uses: actions/checkout@v4
- name: Git describe
id: ghd
uses: proudust/gh-describe@v2
- name: Test thesis
run: make thesis
- name: Test spine
run: make spine
- name: Test doc
run: make doc
- name: Test with l3build
run: make test
- name: Build release zip with l3build
run: l3build ctan --config build-ctan
- name: Upload release zip
uses: actions/upload-artifact@v4
with:
name: thuthesis-ctan-${{ steps.ghd.outputs.describe }}
path: thuthesis-ctan.zip
- name: Upload test results if failed
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-result-${{ steps.ghd.outputs.describe }}
path: |
build/test
build/test-testfiles