Skip to content

Commit

Permalink
feat(devnet): pop api + fungibles use case (#132)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Frank Bell <[email protected]>
Co-authored-by: Tin Chung <[email protected]>
Co-authored-by: Frank Bell <[email protected]>
Co-authored-by: Peter White <[email protected]>
Co-authored-by: Alejandro Martinez Andres <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Bean <[email protected]>
  • Loading branch information
8 people authored Sep 13, 2024
1 parent 788c240 commit b653091
Show file tree
Hide file tree
Showing 72 changed files with 8,200 additions and 1,734 deletions.
9 changes: 7 additions & 2 deletions .github/actions/init/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,14 @@ runs:
- name: Free up space on runner
shell: bash
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /usr/local/.ghcup
sudo rm -rf /usr/local/lib/android
sudo rm -rf /usr/local/share/boost
sudo rm -rf /usr/local/share/powershell
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/share/swift
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Rust Cache
Expand Down
26 changes: 25 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,33 @@ jobs:
- name: Run integration tests
run: cargo test --release --locked --package integration-tests

api-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: "./.github/actions/init"

- name: Run tests
working-directory: pop-api
run: cargo test --release --all-features

api-integration-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: "./.github/actions/init"

- name: Run integration tests
working-directory: pop-api/integration-tests
run: cargo test --release

coverage:
needs: lint
runs-on: ubuntu-latest
env:
RUSTFLAGS: "-C debuginfo=0"
steps:
- uses: actions/checkout@v4

Expand All @@ -104,4 +128,4 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: codecov.json
fail_ci_if_error: true
fail_ci_if_error: true
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@
.idea

# Binaries
**/bin/
**/bin/

# Cargo.lock
**/Cargo.lock
Loading

0 comments on commit b653091

Please sign in to comment.