-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (36 loc) · 936 Bytes
/
build.yml
File metadata and controls
44 lines (36 loc) · 936 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
40
41
42
43
44
name: Build and Test Module
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install Dependencies
shell: pwsh
run: "./install.ps1"
- name: Build
shell: pwsh
run: Invoke-Build Build
- name: Tests
shell: pwsh
run: Invoke-Build test -Output Normal
- name: Upload code coverage report
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: "coverage.xml"
- name: Package Module
run: Compress-Archive -Path output/quickpath -DestinationPath quickpath.zip
shell: pwsh
- name: Upload Module
uses: actions/upload-artifact@v4
with:
name: "quickpath"
path: "quickpath.zip"