Skip to content

Commit

Permalink
Test polkadot ci
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Steuernagel <[email protected]>
  • Loading branch information
LucasSte committed Sep 29, 2023
1 parent f28ba0f commit 55ddd2c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ jobs:
pwd
env:
RUSTFLAGS: -C instrument-coverage -C llvm-args=--instrprof-atomic-counter-update-all --cfg=coverage --cfg=trybuild_no_target
LLVM_PROFILE_FILE: /home/runner/work/solang/solang/target/solang-%p-%10m.profraw
LLVM_PROFILE_FILE: ${{ github.workspace }}/target/solang-%p-%10m.profraw
CARGO_INCREMENTAL: 0
CARGO_LLVM_COV: 1
CARGO_LLVM_COV_TARGET_DIR: /home/runner/work/solang/solang/target
CARGO_LLVM_COV_TARGET_DIR: ${{ github.workspace }}/target
- name: Upload binary
uses: actions/[email protected]
with:
Expand Down Expand Up @@ -252,7 +252,7 @@ jobs:
container: ghcr.io/hyperledger/solang-llvm:ci-5
needs: linux-x86-64
env:
LLVM_PROFILE_FILE: /home/runner/work/solang/solang/target/solang-%p-%10m.profraw
LLVM_PROFILE_FILE: ${{ github.workspace }}/target/solang-%p-%10m.profraw
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand Down Expand Up @@ -309,7 +309,7 @@ jobs:
container: ghcr.io/hyperledger/solang-llvm:ci-5
needs: linux-x86-64
env:
LLVM_PROFILE_FILE: /home/runner/work/solang/solang/target/solang-%p-%10m.profraw
LLVM_PROFILE_FILE: ${{ github.workspace }}/target/solang-%p-%10m.profraw
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand Down Expand Up @@ -352,7 +352,7 @@ jobs:
runs-on: solang-ubuntu-latest
needs: linux-x86-64
env:
LLVM_PROFILE_FILE: /home/runner/work/solang/solang/target/solang-%p-%10m.profraw
LLVM_PROFILE_FILE: ${{ github.workspace }}/target/solang-%p-%10m.profraw
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand Down Expand Up @@ -384,9 +384,6 @@ jobs:
- name: Deploy and test contracts
run: npm run test
working-directory: ./integration/polkadot
- name: cleanup
if: always()
run: docker kill ${{steps.substrate.outputs.id}}
- name: Compress test coverage files
run: tar -czvf polkadot-tests.tar.gz *.profraw
working-directory: ./target
Expand All @@ -395,14 +392,17 @@ jobs:
with:
name: polkadot-tests.tar.gz
path: ./target/polkadot-tests.tar.gz
- name: cleanup
if: always()
run: docker kill ${{steps.substrate.outputs.id}}


polkadot-subxt:
name: Polkadot Integration test with subxt
runs-on: ubuntu-22.04
needs: linux-x86-64
env:
LLVM_PROFILE_FILE: /home/runner/work/solang/solang/target/solang-%p-%10m.profraw
LLVM_PROFILE_FILE: ${{ github.workspace }}/target/solang-%p-%10m.profraw
steps:
- name: Checkout sources
uses: actions/checkout@v4
Expand Down Expand Up @@ -436,15 +436,15 @@ jobs:
- name: Upload test coverage files
uses: actions/[email protected]
with:
name: polkadto-subxt-tests.tar.gz
name: polkado-subxt-tests.tar.gz
path: ./target/polkadot-subxt-tests.tar.gz

vscode:
name: Visual Code Extension
runs-on: solang-ubuntu-latest
needs: linux-x86-64
env:
LLVM_PROFILE_FILE: /home/runner/work/solang/solang/target/solang-%p-%10m.profraw
LLVM_PROFILE_FILE: ${{ github.workspace }}/target/solang-%p-%10m.profraw
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit 55ddd2c

Please sign in to comment.