mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
test: Also run CI on Windows.
This commit is contained in:
parent
f454b781ff
commit
15d1ae179f
27
.github/workflows/ci.yml
vendored
27
.github/workflows/ci.yml
vendored
@ -63,6 +63,33 @@ jobs:
|
|||||||
- name: Run deployment tests
|
- name: Run deployment tests
|
||||||
run: npm run test:deploy
|
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:
|
coveralls:
|
||||||
needs: test
|
needs: test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user