Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Temporarily disable noir_wasm test #2566

Merged
merged 1 commit into from
Sep 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 42 additions & 42 deletions .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,45 +113,45 @@ jobs:
path: ${{ env.UPLOAD_PATH }}
retention-days: 3

test:
needs: [build-wasm, build-nargo]
name: Test noir_wasm
runs-on: ubuntu-latest
steps:
- name: Checkout noir-lang/noir
uses: actions/checkout@v4

- name: Download wasm package artifact
uses: actions/download-artifact@v3
with:
name: noir_wasm
path: ./crates/wasm/result

- name: Download nargo binary
uses: actions/download-artifact@v3
with:
name: nargo
path: ./nargo

- name: Compile test program with Nargo CLI
working-directory: ./crates/wasm/noir-script
run: |
nargo_binary=${{ github.workspace }}/nargo/nargo
chmod +x $nargo_binary
$nargo_binary compile

- name: Install dependencies
working-directory: ./crates/wasm
run: yarn install

- name: Install playwright deps
working-directory: ./crates/wasm
run: |
npx playwright install
npx playwright install-deps

- name: Run tests
working-directory: ./crates/wasm
run: |
yarn test:browser
yarn test:node
# test:
# needs: [build-wasm, build-nargo]
# name: Test noir_wasm
# runs-on: ubuntu-latest
# steps:
# - name: Checkout noir-lang/noir
# uses: actions/checkout@v4

# - name: Download wasm package artifact
# uses: actions/download-artifact@v3
# with:
# name: noir_wasm
# path: ./crates/wasm/result

# - name: Download nargo binary
# uses: actions/download-artifact@v3
# with:
# name: nargo
# path: ./nargo

# - name: Compile test program with Nargo CLI
# working-directory: ./crates/wasm/noir-script
# run: |
# nargo_binary=${{ github.workspace }}/nargo/nargo
# chmod +x $nargo_binary
# $nargo_binary compile

# - name: Install dependencies
# working-directory: ./crates/wasm
# run: yarn install

# - name: Install playwright deps
# working-directory: ./crates/wasm
# run: |
# npx playwright install
# npx playwright install-deps

# - name: Run tests
# working-directory: ./crates/wasm
# run: |
# yarn test:browser
# yarn test:node