Merge remote-tracking branch 'origin/improvement/BKTCLT-35-goClientCu… #331
Workflow file for this run
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: tests | |
on: | |
push: | |
branches-ignore: | |
- development/** | |
- q/*/** | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '16' | |
cache: yarn | |
- name: install dependencies | |
run: yarn install --immutable --network-concurrency=1 | |
- name: run lint | |
run: yarn run --silent lint -- --max-warnings 0 | |
- name: set host bucketclient.testing.local | |
run: sudo bash -c 'echo "127.0.0.1 bucketclient.testing.local" >> /etc/hosts' | |
- name: run test | |
run: yarn run --silent test | |
go-client-test: | |
name: Test the Go client | |
runs-on: ubuntu-22.04 | |
defaults: | |
run: | |
shell: bash | |
working-directory: go/ | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23' | |
- name: Run GolangCI linter | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
working-directory: go/ | |
version: v1.61 | |
- name: Run unit tests | |
run: make test-coverage |