-
Notifications
You must be signed in to change notification settings - Fork 20
39 lines (33 loc) · 992 Bytes
/
relayer.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
name: Relayer
on:
push:
branches:
- develop
- main
pull_request:
jobs:
relayer_run_unit_tests:
name: Run Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install Nix
uses: cachix/install-nix-action@8887e596b4ee1134dae06b98d573bd674693f47c # v26
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Build
run: nix develop -c make build-go-relayer
- name: Unit Test
run: nix develop -c make test-unit-go
- name: Upload Golangci relayer results
if: always()
uses: actions/upload-artifact@v4
with:
name: go-unit-tests-results
path: |
./relayer/output.txt
./relayer/coverage.txt
./relayer/race_coverage.txt
- name: Integration Test
run: nix develop -c make test-integration-go