Skip to content

Commit

Permalink
Run android tests on x86
Browse files Browse the repository at this point in the history
  • Loading branch information
SethDusek committed May 1, 2024
1 parent f510264 commit 0b71a32
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ jobs:
name: Code coverage in tests
runs-on: ubuntu-latest
container:
image: xd009642/tarpaulin:latest
options: --security-opt seccomp=unconfined
image: xd009642/tarpaulin:latest
options: --security-opt seccomp=unconfined
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Generate code coverage
- name: Checkout repository
uses: actions/checkout@v2
- name: Generate code coverage
run: |
cargo tarpaulin --avoid-cfg-tarpaulin --timeout=360 --out lcov --exclude-files 'bindings/**/*.*' --exclude-files 'ergo-rest/src/reqwest.rs' --exclude-files 'ergo-rest/src/reqwest/**/*.*' --exclude-files 'ergo-rest/src/wasm_timer.rs' --exclude-files 'ergo-rest/src/wasm_timer/**/*.*'
- name: Push code coverage results to coveralls.io
Expand Down Expand Up @@ -164,15 +164,15 @@ jobs:
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./bindings/ergo-lib-wasm/pkg-nodejs/package.json
tag: 'alpha'
tag: "alpha"

- name: publish browser alpha version to npm
if: env.HAS_NPM_TOKEN == 'true'
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./bindings/ergo-lib-wasm/pkg-browser/package.json
tag: 'alpha'
tag: "alpha"

rustfmt:
name: Code formatting (rustfmt)
Expand Down Expand Up @@ -253,7 +253,7 @@ jobs:
android_tests:
name: Test JNI(Android) bindings
runs-on: macos-latest
runs-on: macos-12
steps:
- name: checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit 0b71a32

Please sign in to comment.