Skip to content

Commit

Permalink
Create test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoek authored Aug 29, 2024
1 parent cbea3be commit 7f9ef2d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: test

on:
schedule:
- cron: "0 8 * * 2"
push:
branches: [ "master" ]
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install required PowerShell modules
shell: pwsh
run: |
Set-PSRepository PSGallery -InstallationPolicy Trusted
Install-Module Pester, UncommonSense.Hap -Scope CurrentUser
- name: Run Pester tests
shell: pwsh
run: Invoke-Pester -Output Detailed

0 comments on commit 7f9ef2d

Please sign in to comment.