-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into ZigaMr/sapphirepy/signed-queries
- Loading branch information
Showing
55 changed files
with
16,838 additions
and
16,128 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: ci-test | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- stable/* | ||
- rc/* | ||
pull_request: | ||
branches: | ||
- main | ||
- stable/* | ||
- rc/* | ||
|
||
jobs: | ||
test-client-go: | ||
name: test-client-go | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./clients/go | ||
services: | ||
sapphire-localnet-ci: | ||
image: ghcr.io/oasisprotocol/sapphire-localnet:latest | ||
ports: | ||
- 8545:8545 | ||
- 8546:8546 | ||
env: | ||
OASIS_DEPOSIT_BINARY: /oasis-deposit -test-mnemonic -n 2 | ||
options: >- | ||
--rm | ||
--health-cmd="test -f /CONTAINER_READY" | ||
--health-start-period=90s | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.22.x" | ||
|
||
- name: Test | ||
run: go test -v ./... |
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ NPM ?= pnpm | |
|
||
all: build test lint | ||
|
||
build test lint:: | ||
build test lint format:: | ||
$(NPM) $@ | ||
|
||
clean: | ||
|
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
Oops, something went wrong.