Test #10
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
name: Test | |
on: | |
workflow_dispatch: | |
inputs: | |
source-and-test-file-count: | |
type: number | |
description: Count of source and test files to generate | |
required: true | |
default: 200 | |
uncovered-file-count: | |
type: number | |
description: Count of uncovered files to generate | |
required: true | |
default: 500 | |
file-function-count: | |
type: number | |
description: Count of functions to include in a generated file | |
required: true | |
default: 200 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
# Variables used by generate-files.mjs | |
env: | |
COVERED_FILE_COUNT: ${{ inputs.source-and-test-file-count }} | |
UNCOVERED_FILE_COUNT: ${{ inputs.uncovered-file-count }} | |
FUNCTION_COUNT: ${{ inputs.file-function-count }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
- name: Set node version to 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install | |
run: pnpm install | |
- name: Test | |
run: pnpm test |