Skip to content

Commit

Permalink
Check windows
Browse files Browse the repository at this point in the history
  • Loading branch information
cedelavergne-ledger committed Apr 30, 2024
1 parent fd96a4b commit f67f300
Showing 1 changed file with 32 additions and 12 deletions.
44 changes: 32 additions & 12 deletions .github/workflows/build_and_functional_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ jobs:
Build:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
continue-on-error: true

steps:
- name: Install dependencies
Expand All @@ -35,25 +34,46 @@ jobs:

- name: Packages installation
run: npm install
# if: runner.os == 'Linux'

- name: Packages tree
run: npm fund

- name: Packages list
run: npm list

- name: Compile
run: npm run compile

- name: Linter
run: npm run lint
if: runner.os == 'Linux'
run: npm run lint

- name: Test with Linux
run: xvfb-run -a npm test
if: runner.os == 'Linux'
run: xvfb-run -a npm test

- name: Test
run: npm test
if: runner.os != 'Linux'
run: npm test

Build_Windows:
strategy:
matrix:
os: [windows-latest]
runs-on: ${{ matrix.os }}

steps:
- name: Clone
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: node

- name: Packages installation
run: cmd.exe /c npm.cmd install

- name: Compile
run: cmd.exe /c npm.cmd run compile

- name: Linter
run: cmd.exe /c npm.cmd run lint

- name: Test
run: cmd.exe /c npm.cmd test

0 comments on commit f67f300

Please sign in to comment.