From 15d1ae179f55abb1239b77a85bdf765fe5f66d4d Mon Sep 17 00:00:00 2001 From: Ruben Verborgh Date: Mon, 4 Jan 2021 12:06:47 +0100 Subject: [PATCH] test: Also run CI on Windows. --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc1f1f9fa..16ad4ec7d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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