-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (37 loc) · 1.05 KB
/
integration-tests.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
name: Integration Tests with Nigiri
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on:
push:
branches:
- main
pull_request:
schedule:
- cron: '21 2 * * 1-5' # every weekday at 2:21 AM UTC
jobs:
integration:
name: Integration Tests
runs-on: ubuntu-latest
steps:
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Config cargo
run: echo -e "$CARGO_CONFIG_TOML_BREEZ" > .cargo/config.toml
env:
CARGO_CONFIG_TOML_BREEZ: ${{ secrets.CARGO_CONFIG_TOML_BREEZ }}
- name: Rust Cache
uses: Swatinem/rust-cache@v2.2.0
- name: Run Nigiri
uses: vulpemventures/nigiri-github-action@master
with:
use_liquid: false
use_ln: true
- name: Run integration tests
run: make integrationtests