Skip to content

Commit

Permalink
move step outside matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
iqdecay committed Oct 24, 2023
1 parent 81e1710 commit 81531cf
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,6 @@ jobs:
args:
- command: check_doc_unresolved_links
args:
- command: test_against_live_node
args:
download_sway_artifacts: sway-examples-w-type-paths
install_fuel_core: true
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -259,10 +255,6 @@ jobs:
run: |
! cargo doc --document-private-items |& grep -A 6 "warning: unresolved link to"
- name: Run some tests against live node
continue-on-error: true
if: ${{ matrix.command == 'test_against_live_node' }}
run: cargo test --features test-against-live-node
publish:
needs:
Expand Down Expand Up @@ -291,5 +283,21 @@ jobs:
publish-delay: 30000
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

run-against-live-node:
needs:
- cargo-verifications
- publish-crates-check
# Only do this job if publishing a release
# if: github.event_name == 'push'
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Run on a live node
run: cargo test --features test-against-live-node





0 comments on commit 81531cf

Please sign in to comment.