-
Notifications
You must be signed in to change notification settings - Fork 51
39 lines (38 loc) · 905 Bytes
/
PullRequest.yml
File metadata and controls
39 lines (38 loc) · 905 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
name: Pull Request Validator
on:
pull_request:
paths-ignore:
- '**.md'
- 'docs/**'
jobs:
test:
name: Build & Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
pwsh: ['7.1.3']
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Display the path
shell: pwsh
run: echo ${env:PATH}
- name: Version Display
shell: pwsh
run: $PSVersionTable
- name: Bootstrap
shell: pwsh
run: ./actions_bootstrap.ps1
- name: Test and Build
shell: pwsh
run: Invoke-Build -File .\src\ALZ.build.ps1
- name: Upload pester results
uses: actions/upload-artifact@v3
with:
name: pester-results
path: .\src\Artifacts\testOutput
if-no-files-found: warn