Skip to content

Commit

Permalink
Merge pull request #176 from zazuko/ci-win-fix
Browse files Browse the repository at this point in the history
Fix CI for Windows
  • Loading branch information
ludovicm67 authored Apr 17, 2024
2 parents a9cb254 + 42d6efa commit e1b27ae
Show file tree
Hide file tree
Showing 3 changed files with 438 additions and 190 deletions.
30 changes: 19 additions & 11 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,29 @@
name: Test validation

on: [push, pull_request]
on:
- push
- pull_request

jobs:
check-constraint:
runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.env.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
env:
- os: ubuntu-latest
node: 20
- os: windows-latest
node: 20.12.1 # Pinned, because of https://github.com/approvals/Approvals.NodeJS/issues/176
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: ${{ matrix.env.node }}
cache: npm

- name: Install dependencies
run: npm ci
Expand All @@ -40,13 +45,15 @@ jobs:
path: test

check-cube:
runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.env.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
env:
- os: ubuntu-latest
node: 20
- os: windows-latest
node: 20.12.1 # Pinned, because of https://github.com/approvals/Approvals.NodeJS/issues/176
profile:
- basic-cube-constraint
- standalone-constraint-constraint
Expand All @@ -60,7 +67,8 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: ${{ matrix.env.node }}
cache: npm

- name: Install dependencies
run: npm ci
Expand Down
Loading

0 comments on commit e1b27ae

Please sign in to comment.