2025-12-22 15:13:25 +05:30

54 lines
1.2 KiB
YAML

name: Bindings Tests
on:
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
jobs:
Daily:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
submodules: 'recursive'
fetch-depth: 0
- name: Initialize & update submodules
run: git submodule update --init --recursive
- name: Prepare third_party directory
run: |
sudo mkdir -p third_party
sudo chown $USER third_party
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.23"
- name: Install Go dependencies
run: go mod download
- name: Vendor Go dependencies
run: go mod vendor
- name: Build waku bindings
run: make -C waku build
- name: Increase ulimit
run: sudo sh -c "ulimit -n 8192"
- name: Run daily test
run: |
set -euo pipefail
go test -count=10 -p=1 -v -timeout=360m ./ | tee testlogs.log
- name: Upload daily test logs
uses: actions/upload-artifact@v4
with:
name: daily-logs
path: testlogs.log