fix::> added deployContractUDC in the CI test. #1
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: (all branches) Auto CI - Account tests | |
on: | |
push: | |
branches-ignore: | |
- 'main' # excludes main | |
tags-ignore: | |
- '**' | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
services: | |
devnet: | |
image: shardlabs/starknet-devnet-rs:0.0.5 | |
ports: | |
- 5050:5050 | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
- name: wait for devnet to be up... | |
run: ./.bin/devnet.sh | |
# Test Account on devnet | |
- name: Test Account on devnet | |
run: cd account && go test -timeout 600s -v -env devnet . | |
env: | |
TESTNET_ACCOUNT_PRIVATE_KEY: ${{ secrets.TESTNET_ACCOUNT_PRIVATE_KEY }} | |
INTEGRATION_BASE: "http://0.0.0.0:5050" | |
# Test Account on mock | |
- name: Test Account with mocks | |
run: cd account && go test -v . -env mock | |