-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
910 changed files
with
10,427 additions
and
9,475 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,16 +1,6 @@ | ||
#!/bin/bash | ||
|
||
git config --global user.email "$ACTION_USER_EMAIL" | ||
git config --global user.name "$ACTION_USER_NAME" | ||
|
||
mkdir /opt/spec_translator | ||
git clone "https://tei-bot:$GITHUB_ACCESS_TOKEN@github.com/TEIC/spec_translator.git" /opt/spec_translator | ||
|
||
cd P5 | ||
make p5.xml | ||
saxon -s:p5subset.xml -xsl:Utilities/generate_i18n_spec_lists.xsl -o:/opt/spec_translator/docs/js/spec_lists.json | ||
|
||
cd /opt/spec_translator | ||
git add docs/js/spec_lists.json | ||
git commit -m "Updated spec lists." | ||
git push origin main | ||
saxon -s:p5subset.xml -xsl:Utilities/generate_i18n_spec_lists.xsl -o:spec_lists.json | ||
make clean |
This file was deleted.
Oops, something went wrong.
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
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@v2 | ||
|
||
- name: Checkout Stylesheets repo | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: TEIC/Stylesheets | ||
ref: dev | ||
path: Stylesheets | ||
|
||
- name: Run tests from the Test directory | ||
run: | | ||
cd P5 | ||
make clean validate test XSL=${GITHUB_WORKSPACE}/Stylesheets | ||
- name: Slack Notification | ||
if: always() | ||
continue-on-error: true | ||
uses: rtCamp/action-slack-notify@v2 | ||
env: | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | ||
SLACK_COLOR: ${{ job.status }} | ||
MSG_MINIMAL: commit,actions url |
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 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
Oops, something went wrong.