[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev-exper: Test stuff (243448d)
Marcel Fabian Krüger
tex at 2krueger.de
Mon Jun 20 13:00:50 CEST 2022
Repository : https://github.com/latex3/luaotfload
On branch : dev-exper
Link : https://github.com/latex3/luaotfload/commit/243448dc4796a3127002141996e03f253636a9c1
>---------------------------------------------------------------
commit 243448dc4796a3127002141996e03f253636a9c1
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Mon Jun 20 13:00:50 2022 +0200
Test stuff
>---------------------------------------------------------------
243448dc4796a3127002141996e03f253636a9c1
.github/workflows/main.yaml | 46 +--------------------------------------------
1 file changed, 1 insertion(+), 45 deletions(-)
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index 1c5efc2..d578547 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -73,10 +73,9 @@ jobs:
# 1. If we failed running tests
- name: Archive failed test output
if: ${{ matrix.artifact_name != 'Documentation' && failure() }}
- uses: actions/upload-artifact at v2
+ uses: zauguin/l3build-failure-artifacts at trunk
with:
name: ${{ matrix.artifact_name }}
- path: build/test*/*.diff
# Decide how long to keep the test output artifact:
retention-days: 3
# 2. If we succeed building documentation
@@ -88,46 +87,3 @@ jobs:
path: "**/*.pdf"
# Decide how long to keep the test output artifact:
retention-days: 21
- # GitHub automatically informs the initiator of any action about the result, but
- # we additionally want to keep the latex-commits mailing list informed about
- # test failures.
- notifiy:
- name: Send notifications
- runs-on: ubuntu-20.04
- # Run after the `l3build` job in order to be able to react to it's output.
- needs: l3build
- # Only run if the tests failed, we don't want to get notifications for every run.
- # We don't want information for pull requests since for pull requests from local
- # branches we already send notifications when the branch test fails and pull requests
- # from forks can't access the username and password secrets required to send mails.
- if: ${{ failure() && github.event_name != 'pull_request' }}
- steps:
- - name: Send mail
- # The explicit commit hash ensures that this can't be used by dawidd6 as a
- # backdoor to execute arbitrary code during our runs.
- uses: dawidd6/action-send-mail at ceb614a2c5737d913f2d2729e2bcc70ad933382b
- with:
- # Currently using my (Marcel's) mail server for sending mails.
- server_address: typesetting.eu
- server_port: 587
- # These values can be changed in the repository settings.
- username: ${{secrets.MAIL_USERNAME}}
- password: ${{secrets.MAIL_PASSWORD}}
- # If we want to send notifications to additional addresses, at them here as
- # a comma separated list.
- to: latex3-commits at tug.org
- # The name is arbitrary, but if you want to change the address you need to
- # coordinate it with the administrator of the mail server to allow the account
- # to send from the mail address.
- from: LaTeX CI <github at latex-project.org>
- priority: high
- # Determine the subject and body of the mail.
- subject: "Test failed: ${{github.repository}} (${{github.ref}})"
- body: |
- Test failure for ${{github.repository}}
- -------------------------------------------------------------
-
- On branch: ${{github.ref}} (${{github.sha}})
- Initiated by: ${{github.actor}}
- Commit URL: https://github.com/${{github.repository}}/commit/${{github.sha}}
- More information: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
More information about the latex3-commits
mailing list.