Skip to content

Commit

Permalink
[WIP][ci] Enable tool_test_win
Browse files Browse the repository at this point in the history
  • Loading branch information
SamChou19815 authored Mar 18, 2024
1 parent e3bac53 commit 671966d
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -341,23 +341,19 @@ jobs:
run: (cd packages/flow-dev-tools && yarn install | cat)
- name: Run tool tests
run: ./tool test --bin bin/macos/flow | cat
# tool_test_win:
# runs-on: windows-latest
# needs:
# - build_win
# steps:
# - uses: actions/[email protected]
# - name: Install Node LTS
# run: choco install nodejs-lts -y
# - name: Enable Corepack
# run: corepack enable
# - name: Install tool deps from yarn
# run: |-
# cd packages/flow-dev-tools
# yarn install --ignore-scripts --pure-lockfile
# - name: Run tool tests
# run: node packages/flow-dev-tools/bin/tool test --bin bin/win64/flow.exe --parallelism 1
# shell: bash
tool_test_win:
runs-on: windows-latest
needs:
- build_win
steps:
- uses: actions/[email protected]
- name: Install tool deps from yarn
run: |-
cd packages/flow-dev-tools
yarn install --ignore-scripts --pure-lockfile
- name: Run tool tests
run: node packages/flow-dev-tools/bin/tool test --bin bin/win64/flow.exe --parallelism 1
shell: bash
ounit_test_linux:
runs-on: ubuntu-latest
container:
Expand Down Expand Up @@ -662,4 +658,4 @@ jobs:
# run: |
# echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
# npm publish ./dist/npm-try-flow-website-js.tgz


0 comments on commit 671966d

Please sign in to comment.