Merge pull request #571 from tonkeeper/swagger-fix #1679
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: test | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- 'dev' | |
- 'master' | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Go Version | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.22' | |
- name: test | |
env: | |
LD_LIBRARY_PATH: ${{ github.workspace }}/libs | |
LITE_SERVERS: ${{ secrets.LITE_SERVERS }} | |
run: | | |
sudo apt-get install -y libsecp256k1-0 | |
mkdir -p ${{ env.LD_LIBRARY_PATH}} | |
wget https://github.com/tonkeeper/tongo/raw/master/lib/linux/libemulator.so -O ${{ env.LD_LIBRARY_PATH}}/libemulator.so | |
make test |