test: Also run CI on Windows.

This commit is contained in:
Ruben Verborgh 2021-01-04 12:06:47 +01:00 committed by Joachim Van Herwegen
parent f454b781ff
commit 15d1ae179f

View File

@ -63,6 +63,33 @@ jobs:
- name: Run deployment tests
run: npm run test:deploy
test-windows:
runs-on: windows-latest
strategy:
matrix:
node-version:
- 12.x
- 14.x
steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Ensure line endings are consistent
run: git config --global core.autocrlf input
- name: Check out repository
uses: actions/checkout@v2
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Run build scripts
run: npm run build
- name: Run unit tests
run: npm run test:unit
- name: Run integration tests
run: npm run test:integration
- name: Run deployment tests
run: npm run test:deploy
coveralls:
needs: test
runs-on: ubuntu-latest