-
Notifications
You must be signed in to change notification settings - Fork 84
37 lines (31 loc) · 1.05 KB
/
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: TEI Guidelines Tests
on:
push:
pull_request:
branches: [ dev ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test1:
if: github.repository == 'TEIC/TEI'
name: "Run the Guidelines tests against the Stylesheets' dev version"
runs-on: ubuntu-latest
container:
image: ghcr.io/teic/jenkins:dev
options: "--user root"
steps:
- name: Checkout Guidelines repo
uses: actions/checkout@v4
- name: Checkout Stylesheets repo
uses: actions/checkout@v4
with:
repository: TEIC/Stylesheets
ref: dev
path: Stylesheets
# Update permissions in GITHUB_WORKSPACE (e.g. /__w/TEI/TEI)
# to resolve "dubious permissions" in git (see TEI/TEIC#2399)
- name: Fix Git permissions
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Run tests from the Test directory
run: |
cd P5
make clean validate test XSL=${GITHUB_WORKSPACE}/Stylesheets