Update .gitea/workflows/Publish Module.yaml
This commit is contained in:
@@ -8,23 +8,6 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
|
||||||
runs-on: ubuntu-22.04
|
|
||||||
container:
|
|
||||||
image: catthehacker/ubuntu:pwsh-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Check out repository code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Run pester tests and verify all tests pass
|
|
||||||
shell: pwsh
|
|
||||||
run: |
|
|
||||||
Write-Host "Changing to repository directory: ${{ github.workspace }}"
|
|
||||||
Set-Location -Path ${{ github.workspace }}
|
|
||||||
Write-Host "Running Pester tests"
|
|
||||||
Invoke-Pester -Path . -PassThru | Select-Object -ExpandProperty FailedCount | Should -Be 0 -ErrorAction stop
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
needs: test
|
needs: test
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|||||||
Reference in New Issue
Block a user