Skip to content

Commit

Permalink
Merge branch 'docs/add-core-library-intro' of https://github.com/Fuel…
Browse files Browse the repository at this point in the history
…Labs/sway into docs/add-core-library-intro
  • Loading branch information
calldelegation committed Jul 12, 2024
2 parents 6d0931a + 31e240f commit aa86641
Show file tree
Hide file tree
Showing 150 changed files with 3,179 additions and 1,545 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ jobs:
mv fuel-core-${{ needs.get-fuel-core-version.outputs.fuel_core_version }}-x86_64-unknown-linux-gnu/fuel-core /usr/local/bin/fuel-core
- name: Cargo Run E2E Tests (Fuel VM)
run: |
fuel-core run --db-type in-memory --debug --snapshot ./.github/workflows/local-testnode &
fuel-core run --db-type in-memory --debug &
sleep 5 &&
cargo run --locked --release --bin test -- --locked
Expand All @@ -364,7 +364,7 @@ jobs:
mv fuel-core-${{ needs.get-fuel-core-version.outputs.fuel_core_version }}-x86_64-unknown-linux-gnu/fuel-core /usr/local/bin/fuel-core
- name: Cargo Run E2E Tests (Fuel VM)
run: |
fuel-core run --db-type in-memory --debug --snapshot ./.github/workflows/local-testnode &
fuel-core run --db-type in-memory --debug &
sleep 5 &&
cargo run --locked --release --bin test -- --locked --release
Expand Down Expand Up @@ -517,6 +517,25 @@ jobs:
mv fuel-core-${{ needs.get-fuel-core-version.outputs.fuel_core_version }}-x86_64-unknown-linux-gnu/fuel-core /usr/local/bin/fuel-core
- name: Run tests
run: cargo test --locked --release -p forc-debug
cargo-test-forc-client:
runs-on: ubuntu-latest
needs: get-fuel-core-version
steps:
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.RUST_VERSION }}
targets: "x86_64-unknown-linux-gnu, wasm32-unknown-unknown"
- uses: Swatinem/rust-cache@v2
- name: Install fuel-core for tests
run: |
curl -sSLf https://github.com/FuelLabs/fuel-core/releases/download/v${{ needs.get-fuel-core-version.outputs.fuel_core_version }}/fuel-core-${{ needs.get-fuel-core-version.outputs.fuel_core_version }}-x86_64-unknown-linux-gnu.tar.gz -L -o fuel-core.tar.gz
tar -xvf fuel-core.tar.gz
chmod +x fuel-core-${{ needs.get-fuel-core-version.outputs.fuel_core_version }}-x86_64-unknown-linux-gnu/fuel-core
mv fuel-core-${{ needs.get-fuel-core-version.outputs.fuel_core_version }}-x86_64-unknown-linux-gnu/fuel-core /usr/local/bin/fuel-core
- name: Run tests
run: cargo test --locked --release -p forc-client
cargo-test-sway-lsp:
runs-on: ubuntu-latest
steps:
Expand All @@ -538,7 +557,7 @@ jobs:
toolchain: ${{ env.RUST_VERSION }}
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test --locked --release --workspace --exclude forc-debug --exclude sway-lsp
run: cargo test --locked --release --workspace --exclude forc-debug --exclude sway-lsp --exclude forc-client
cargo-unused-deps-check:
runs-on: ubuntu-latest
steps:
Expand Down
271 changes: 0 additions & 271 deletions .github/workflows/local-testnode/chain_config.json

This file was deleted.

8 changes: 0 additions & 8 deletions .github/workflows/local-testnode/metadata.json

This file was deleted.

Loading

0 comments on commit aa86641

Please sign in to comment.