Skip to content

Commit

Permalink
Do not build sync feature on WASM target
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Aug 30, 2023
1 parent 3f06811 commit ad82127
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- wasm32-unknown-unknown

name: Build Check ${{ matrix.target }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
Expand All @@ -28,7 +28,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: check
args: --target ${{matrix.target}} --all-features
args: --target ${{matrix.target}}

test:
strategy:
Expand All @@ -37,7 +37,7 @@ jobs:
- x86_64-unknown-linux-gnu

name: Test ${{ matrix.target }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
Expand All @@ -60,7 +60,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: --target ${{matrix.target}} --all-features
args: --target ${{matrix.target}} --all-features -- --test-threads 1

# This is currently broken because
# reqwest is not actually optional
Expand Down

0 comments on commit ad82127

Please sign in to comment.