-
Notifications
You must be signed in to change notification settings - Fork 111
37 lines (30 loc) · 1009 Bytes
/
check.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: Test suite
on: [push, pull_request]
jobs:
test-suite:
runs-on: ubuntu-latest
container:
image: registry.gitlab.com/islandoftex/images/texlive:latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fixup Run actions/checkout
run: git config --global --add safe.directory '*'
- name: Generate the revision file
run: |
export tagname=$(git describe --abbrev=0 --tags)
export revision=$(git describe --tags)
export tagdate=$(git log -n 1 "$tagname" --pretty=format:%cs)
export revisiondate=$(git log -n 1 "$revision" --pretty=format:%cs)
l3build tag --date "$tagdate" "$tagname"
cat tex/generic/pgf/pgf.revision.tex
- name: Run test suite
run: |
l3build check -q --show-log-on-error
- name: Archive failed test output
if: failure()
uses: actions/upload-artifact@v3
with:
name: test-diff-files
path: build/test*/*.diff