-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
41 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,43 @@ | ||
# name: Local integration tests - Basic Version | ||
name: Local integration tests - Basic Version | ||
|
||
# on: | ||
# pull_request: | ||
# branches: [main] | ||
on: | ||
pull_request: | ||
branches: [main] | ||
|
||
# jobs: | ||
# basic-integration-test: | ||
# runs-on: ${{ matrix.os }} | ||
# strategy: | ||
# matrix: | ||
# os: [macos-11, macos-latest, windows-latest] | ||
# # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||
# node-version: [14, 16, 18] | ||
# timeout-minutes: 8 | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - name: Use Node.js ${{ matrix.node-version }} | ||
# uses: actions/setup-node@v2 | ||
# with: | ||
# node-version: ${{ matrix.node-version }} | ||
# - name: Install packages [npm ci] | ||
# run: npm ci | ||
# - name: Allow running mkcert on Mac | ||
# run: sudo security authorizationdb write com.apple.trust-settings.admin allow | ||
# if: runner.os == 'MacOS' | ||
# - name: Install mkcert | ||
# run: brew install mkcert | ||
# if: runner.os == 'MacOS' | ||
# - name: Run mkcert setup [mkcert -install] | ||
# run: mkcert -install | ||
# if: runner.os == 'MacOS' | ||
# - name: Install https cert [npm setup:https] | ||
# run: npm run setup:https | ||
# if: runner.os == 'MacOS' | ||
# - run: | | ||
# mkdir certs | ||
# .\test\generate-cert.ps1 | ||
# shell: pwsh | ||
# if: runner.os == 'Windows' | ||
# - name: Run integration tests | ||
# run: npm run test:integration | ||
# shell: bash | ||
jobs: | ||
basic-integration-test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [macos-11, macos-latest, windows-latest] | ||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||
node-version: [14, 16, 18] | ||
timeout-minutes: 8 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install packages [npm ci] | ||
run: npm ci | ||
- name: Allow running mkcert on Mac | ||
run: sudo security authorizationdb write com.apple.trust-settings.admin allow | ||
if: runner.os == 'MacOS' | ||
- name: Install mkcert | ||
run: brew install mkcert | ||
if: runner.os == 'MacOS' | ||
- name: Run mkcert setup [mkcert -install] | ||
run: mkcert -install | ||
if: runner.os == 'MacOS' | ||
- name: Install https cert [npm setup:https] | ||
run: npm run setup:https | ||
if: runner.os == 'MacOS' | ||
- run: | | ||
mkdir certs | ||
.\test\generate-cert.ps1 | ||
shell: pwsh | ||
if: runner.os == 'Windows' | ||
- name: Run integration tests | ||
run: npm run test:integration | ||
shell: bash |