File tree Expand file tree Collapse file tree 5 files changed +282
-123
lines changed
test-applications/standard-frontend-react Expand file tree Collapse file tree 5 files changed +282
-123
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ title : Canary tests failed
3+ labels : ' Status: Untriaged, Type: Tests'
4+ ---
5+ Canary tests failed: {{ env.RUN_LINK }}
Original file line number Diff line number Diff line change 1+ name : ' Canary Tests'
2+ on :
3+ schedule :
4+ # Run every day at midnight
5+ - cron : ' 0 0 * * *'
6+ workflow_dispatch :
7+ inputs :
8+ commit :
9+ description : If the commit you want to test isn't the head of a branch, provide its SHA here
10+ required : false
11+
12+ env :
13+ HEAD_COMMIT : ${{ github.event.inputs.commit || github.sha }}
14+
15+ permissions :
16+ contents : read
17+ issues : write
18+
19+ jobs :
20+ job_canary_test :
21+ name : Run Canary Tests
22+ runs-on : ubuntu-latest
23+ timeout-minutes : 30
24+ steps :
25+ - name : ' Check out current commit'
26+ uses : actions/checkout@v2
27+ with :
28+ ref : ${{ env.HEAD_COMMIT }}
29+ - name : Set up Node
30+ uses : actions/setup-node@v3
31+ with :
32+ # ember won't build under node 16, at least not with the versions of the ember build tools we use
33+ node-version : 14
34+ - name : Install dependencies
35+ run : yarn install --ignore-engines --frozen-lockfile
36+ - name : Build packages
37+ run : yarn build
38+ - name : Run Canary Tests
39+ env :
40+ E2E_TEST_PUBLISH_SCRIPT_NODE_VERSION : ${{ env.DEFAULT_NODE_VERSION }}
41+ E2E_TEST_AUTH_TOKEN : ${{ secrets.E2E_TEST_AUTH_TOKEN }}
42+ E2E_TEST_DSN : ${{ secrets.E2E_TEST_DSN }}
43+ CANARY_E2E_TEST : ' yes'
44+ run : |
45+ cd packages/e2e-tests
46+ yarn test:e2e
47+ - name : Create Issue
48+ if : failure()
49+ uses : JasonEtco/create-an-issue@1a16035489d05041b9af40b970f02e301c52ffba
50+ env :
51+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52+ RUN_LINK : ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
53+ with :
54+ filename : .github/CANARY_FAILURE_TEMPLATE.md
You can’t perform that action at this time.
0 commit comments