Skip to content

Commit

Permalink
Unit test on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLawrie committed Jan 5, 2024
1 parent d9e3522 commit ec4d733
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/unit-test-only.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Run Unit Tests
on:
push:

permissions:
contents: write

jobs:
unit-test:
name: Unit Test
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Unit Test
shell: pwsh
run: |
$ErrorActionPreference = "Stop"
& .\PwshSpectreConsole\Build.ps1
$env:PSModulePath = @($env:PSModulePath, ".\PwshSpectreConsole\") -join ":"
Invoke-Pester -CI

0 comments on commit ec4d733

Please sign in to comment.