Skip to content

Commit 3208bb4

Browse files
authored
Ntrn concentrated astro (#357)
* Add concentrated astro twap support. (#355) * Add concentrated astro twap support. * Cleanup. * Optimize for bigger decimals. * Add migrate for ntrn oracle. * Fix warnings. * Fix contract name. * Fix build.
1 parent f15d673 commit 3208bb4

Some content is hidden

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

62 files changed

+831
-383
lines changed

.github/workflows/artifacts.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/coverage.yml

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,17 @@ jobs:
2525
- name: Install stable Rust
2626
run: cargo make install-stable
2727

28-
# selecting a toolchain should happen before the plugin, as the cache uses the current rustc version as its cache key
29-
# - name: Cache dependencies
30-
# uses: Swatinem/rust-cache@v2
31-
3228
# Artifacts used by tests
3329
- name: Compile workspace
34-
run: cargo make build
35-
36-
- name: Run test
37-
run: cargo make test
38-
39-
# disabled because of "no space left" error.
40-
# - name: Run test coverage
41-
# run: cargo make coverage-lcov
42-
43-
# - name: Upload coverage to Codecov
44-
# uses: codecov/codecov-action@v3
45-
# with:
46-
# token: ${{ secrets.CODECOV_TOKEN }}
47-
# files: target/coverage/lcov.info
30+
run: |
31+
cargo make build
32+
find target/wasm32-unknown-unknown/release -type f ! -name '*.wasm' -delete
33+
34+
- name: Run test coverage
35+
run: cargo make coverage-lcov
36+
37+
- name: Upload coverage to Codecov
38+
uses: codecov/codecov-action@v3
39+
with:
40+
token: ${{ secrets.CODECOV_TOKEN }}
41+
files: target/coverage/lcov.info

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ jobs:
4141
- name: Audit dependencies
4242
run: |
4343
cargo install --locked cargo-audit
44-
cargo make audit
44+
cargo make audit

.github/workflows/scripts.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424

2525
- name: Install cargo make
2626
uses: davidB/rust-cargo-make@v1
27-
27+
2828
- name: Install stable Rust
29-
run: cd ../ && cargo make install-stable && cd scripts
29+
run: cd ../ && cargo make install-stable-for-scripts && cd scripts
3030

3131
# selecting a toolchain should happen before the plugin, as the cache uses the current rustc version as its cache key
3232
- name: Cache dependencies
@@ -48,5 +48,12 @@ jobs:
4848
yarn generate-types
4949
git diff --exit-code
5050
51+
- name: Compile latest health computer helpers
52+
run: yarn compile-health-all
53+
5154
- name: Check build
5255
run: yarn build
56+
57+
- name: Check react health example builds
58+
working-directory: ./scripts/health/example-react
59+
run: yarn install && yarn build

0 commit comments

Comments
 (0)