Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ jobs:
env:
NODE_OPTIONS: "--max-old-space-size=4096"
run: |
make gen
make validate-clients-untracked-files
make gen validate-clients-untracked-files
# - name: Ensure Go workspace is synced
# run: |
# go work sync
Expand All @@ -42,15 +41,27 @@ jobs:
test-go:
name: Run Go tests
runs-on: ubuntu-22.04
env:
BENCHER_API_TOKEN: ${{ secrets.BENCHER_API_TOKEN }}
steps:
- name: Check-out code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.24"
- name: Install Bencher
uses: bencherdev/bencher@61e6a2c2e0b4c8f61c87bef598ba9dbafa51c689 # Stable digest for v0.5.8
continue-on-error: true
- name: Run Go tests
run: |
mkdir ./webui/dist
touch ./webui/dist/index.html
make test-go
touch ./webui/dist/index.html
ref=${{ github.ref_name }}
release_slug=$(uname -s -m | tr '[:upper:]' '[:lower:]' | sed 's/[ _]/-/g')
bencher run --build-time \
--adapter json \
--project lakefs \
--branch "$ref" \
--testbed "github-${release_slug}" \
make test-go
Loading