-
Notifications
You must be signed in to change notification settings - Fork 127
55 lines (48 loc) · 1.54 KB
/
heavy-integration.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
51
52
53
54
55
name: heavy integration
on:
schedule:
# Runs at 10PM utc
- cron: "0 22 * * *"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
heavy-integration:
name: heavy (long-running) integration tests
runs-on: buildjet-16vcpu-ubuntu-2204
timeout-minutes: 120
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@nextest
- name: Fetch Dataset
run: |
# download from https://jbecker.dev/data/largest1k.tar.gz
wget https://jbecker.dev/data/largest1k.tar.gz
# extract the dataset
tar -xvf largest1k.tar.gz
- name: Run Tests
env:
RPC_URL: ${{ secrets.RPC_URL }}
WS_RPC_URL: ${{ secrets.WS_RPC_URL }}
run: |
cargo nextest r --no-fail-fast --release --nocapture -- --ignored
# If any of the jobs fail, this will create a high-priority issue to signal so.
issue:
name: Open an issue
runs-on: buildjet-16vcpu-ubuntu-2204
needs: heavy-integration
if: ${{ failure() }}
steps:
- uses: actions/checkout@v4
- uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WORKFLOW_URL: |
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
with:
update_existing: true
filename: .github/INTEGRATION_FAILURE.md