Skip to content

Commit 674c195

Browse files
committed
Merge branch 'docs-chain-time' of https://github.com/input-output-hk/catalyst-core into docs-chain-time
2 parents 293ebd0 + bc88608 commit 674c195

File tree

64 files changed

+1432
-1006
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+1432
-1006
lines changed

.github/workflows/ci_tests.yml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches: [ "main" ]
66
pull_request:
7-
branches: [ "main" ]
87

98
env:
109
CARGO_TERM_COLOR: always
@@ -137,7 +136,7 @@ jobs:
137136
- run: cargo nextest run -p catalyst-toolbox -p snapshot-lib
138137

139138
voting_tools:
140-
name: Voting Toolss Tests
139+
name: Voting Tools Tests
141140
runs-on: ubuntu-latest
142141
env:
143142
CARGO_FLAGS: --verbose --locked
@@ -182,6 +181,30 @@ jobs:
182181
toolchain: "1.65" # it says it can read the rust-toolchain file, but it fails if we omit this
183182
- run: cargo nextest run -p "chain-*"
184183

184+
jormungandr:
185+
name: Jormungandr Tests
186+
runs-on: ubuntu-latest
187+
env:
188+
CARGO_FLAGS: --verbose --locked
189+
steps:
190+
- name: Checkout code
191+
uses: actions/checkout@v3
192+
with:
193+
ref: ${{ github.event.pull_request.head.sha }}
194+
- uses: Swatinem/rust-cache@v2
195+
- name: Install Nextest
196+
run: curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
197+
- name: Install deps
198+
run:
199+
sudo apt install -y protobuf-compiler libssl-dev libpq-dev libsqlite3-dev pkg-config
200+
201+
- name: Run chain-libs tests
202+
uses: actions-rs/toolchain@v1
203+
with:
204+
toolchain: "1.65" # it says it can read the rust-toolchain file, but it fails if we omit this
205+
- run: cargo nextest run -p jormungandr
206+
207+
185208
wallet-js-binding:
186209
name: Wallet JS Binding Tests
187210
runs-on: ubuntu-latest
@@ -201,6 +224,11 @@ jobs:
201224
cd src/chain-wallet-libs/bindings/wallet-js
202225
wasm-pack build --release --target=nodejs -d pkg
203226
227+
- name: Build JS package
228+
run: |
229+
cd src/chain-wallet-libs/bindings/wallet-js/js
230+
npm install
231+
204232
- name: Run JS tests
205233
run: |
206234
cd src/chain-wallet-libs/bindings/wallet-js/js-test

0 commit comments

Comments
 (0)