Skip to content

Commit

Permalink
init test
Browse files Browse the repository at this point in the history
  • Loading branch information
dnkolegov committed Nov 12, 2023
1 parent f223075 commit 13560a4
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/fendermint-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
tests-go-stable:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: faucet
strategy:
matrix:
go: [ '1.20' ]
steps:
- name: Set up Golang
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}

- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
components: rustfmt

- name: Install cargomake
run: cargo install --force cargo-make

- name: Checkout Faucet
uses: actions/checkout@v3

- name: Checkout Fendermint
uses: actions/checkout@v3
with:
repository: consensus-shipyard/fendermint
path: fendermint

- name: Installand Run Fendermint
run: |
cd fendermint
make build
cargo make --makefile ./infra/Makefile.toml testnode
- name: Stop Fendermint
run: |
cd fendermint
make build
cargo make --makefile ./infra/Makefile.toml testnode-down

0 comments on commit 13560a4

Please sign in to comment.