Merge pull request #565 from blxdyx/fix_logs #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration tests | |
on: | |
push: | |
branches: | |
- main | |
- 'release/**' | |
workflow_dispatch: | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
# list of os: https://github.com/actions/virtual-environments | |
os: | |
- ubuntu-22.04 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- run: git submodule update --init --recursive --force | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- name: Install dependencies on Linux | |
if: runner.os == 'Linux' | |
run: sudo apt update && sudo apt install build-essential | |
- name: Test erigon as a library | |
env: | |
GIT_COMMIT: ${{ github.event.pull_request.head.sha || github.sha }} | |
run: make test-erigon-ext GIT_COMMIT=$GIT_COMMIT |