finki-main
main
|
Last change
on this file since 81bc7da was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago |
|
Initial commit
|
-
Property mode
set to
100644
|
|
File size:
695 bytes
|
| Line | |
|---|
| 1 | name: Tests on Windows
|
|---|
| 2 | on: [push, pull_request]
|
|---|
| 3 | jobs:
|
|---|
| 4 | Tests:
|
|---|
| 5 | strategy:
|
|---|
| 6 | fail-fast: false
|
|---|
| 7 | max-parallel: 15
|
|---|
| 8 | matrix:
|
|---|
| 9 | os: [windows-2022]
|
|---|
| 10 | runs-on: ${{ matrix.os }}
|
|---|
| 11 | steps:
|
|---|
| 12 | - name: Checkout Repository
|
|---|
| 13 | uses: actions/checkout@v2
|
|---|
| 14 | - name: Install Dependencies
|
|---|
| 15 | run: |
|
|---|
| 16 | npm install --no-progress
|
|---|
| 17 | - name: Set Windows environment
|
|---|
| 18 | if: matrix.os == 'windows-latest'
|
|---|
| 19 | run: |
|
|---|
| 20 | echo 'GYP_MSVS_VERSION=2015' >> $Env:GITHUB_ENV
|
|---|
| 21 | echo 'GYP_MSVS_OVERRIDE_PATH=C:\\Dummy' >> $Env:GITHUB_ENV
|
|---|
| 22 | - name: Environment Information
|
|---|
| 23 | run: npx envinfo
|
|---|
| 24 | - name: Run Node tests
|
|---|
| 25 | run: npm test
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.