forked from kopia/kopia
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (42 loc) · 1.14 KB
/
volume-shadow-copy-test.yml
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
name: Volume Shadow Copy Test
on:
push:
branches: [ master ]
tags:
- v*
pull_request:
branches: [ master ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
vss-test:
name: Volume Shadow Copy Test
runs-on: windows-latest
steps:
- name: Check out repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: 'go.mod'
check-latest: true
id: go
- name: Install gsudo
shell: bash
run: |
choco install -y --no-progress gsudo
echo "C:\tools\gsudo\Current" >> $GITHUB_PATH
- name: Admin Test
run: gsudo make os-snapshot-tests
- name: Non-Admin Test
run: gsudo -i Medium make os-snapshot-tests
- name: Upload Logs
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: logs
path: .logs/**/*.log
if-no-files-found: ignore
if: ${{ always() }}