-
Notifications
You must be signed in to change notification settings - Fork 184
50 lines (48 loc) · 1.43 KB
/
test-timely-master.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
38
39
40
41
42
43
44
45
46
47
48
49
50
name: "Test build against Timely master"
on:
workflow_dispatch:
schedule:
- cron: '38 3 * * *'
jobs:
tests:
strategy:
matrix:
os:
- ubuntu
toolchain:
- stable
name: cargo test on ${{ matrix.os }}, rust ${{ matrix.toolchain }}
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
- name: Cargo check against Timely master
working-directory: timely_master
run: cargo check --all-targets
- name: Cargo test against Timely master
working-directory: timely_master
run: cargo test
notify:
name: Notify failed build
if: failure() && github.event.pull_request == null
needs: [tests]
permissions:
contents: read
issues: write
runs-on: ubuntu-latest
steps:
# We need to checkout the repository to access the issue template
- uses: actions/checkout@v4
- uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WORKFLOW_NAME: ${{ github.workflow }}
REPO_SLUG: ${{ github.repository }}
RUN_ID: ${{ github.run_id }}
MENTION: '@frankmcsherry, @antiguru'
with:
filename: '.github/create-issue-on-failure.md'
update_existing: true
search_existing: open