Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusStorhaug committed Feb 24, 2024
1 parent 51a85b8 commit fdcee8d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ on:
description: The version of the PSModule.FX to use
required: false
default: '*'
TestingEnabled:
type: boolean
description: Whether to run tests
required: false
default: true

env:
GITHUB_TOKEN: ${{ github.token }} # Used for GitHub CLI authentication
Expand All @@ -33,6 +38,7 @@ jobs:

- name: Test source code
uses: PSModule/Test-PSModule@main
if: ${{ inputs.TestingEnabled }}
with:
Name: ${{ inputs.Name }}
Path: src
Expand All @@ -47,6 +53,7 @@ jobs:

- name: Test built module
uses: PSModule/Test-PSModule@main
if: ${{ inputs.TestingEnabled }}
with:
Name: ${{ inputs.Name }}
Path: outputs/modules
Expand Down

0 comments on commit fdcee8d

Please sign in to comment.