Skip to content

Commit

Permalink
enable basic integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
enuchi committed Apr 14, 2024
1 parent 58c6e5f commit bb6008c
Showing 1 changed file with 41 additions and 41 deletions.
82 changes: 41 additions & 41 deletions .github/workflows/integration-tests-basic.yaml
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

0 comments on commit bb6008c

Please sign in to comment.