Skip to content

test: force enable mirror channel after LaunchBscUpgrade #582

test: force enable mirror channel after LaunchBscUpgrade

test: force enable mirror channel after LaunchBscUpgrade #582

Workflow file for this run

name: integration-ci
on: ["push", "pull_request", "workflow_dispatch"]
jobs:
integration-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: 1.19
- uses: actions/cache@v3
with:
path: ~/go/bin
key: tools-v0
- uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- run: sudo apt-get update -y && sudo apt-get install -y expect
# used to debug workflow
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
- run: make bep159_integration_test recon_integration_test integration_test
coverage-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: 1.19
- uses: actions/cache@v3
with:
path: ~/go/bin
key: tools-v0
- uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- run: make test
- run: make test_coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3