Skip to content

Commit a4a4da5

Browse files
authored
Merge branch 'main' into feat/merge_cmd_output_version
2 parents c7157bf + 8e6269a commit a4a4da5

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.github/workflows/dotnetcore.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: .NET Core CI
33

44
on: [pull_request, workflow_dispatch]
55

6+
env:
7+
SNAPSHOOTER_STRICT_MODE: true
8+
69
jobs:
710
# Fail if there are build warnings
811
#
@@ -49,7 +52,9 @@ jobs:
4952
runs-on: ${{ matrix.os }}
5053
strategy:
5154
matrix:
52-
os: [ubuntu-latest, windows-latest, macos-latest]
55+
# os: [ubuntu-latest, windows-latest, macos-latest]
56+
# macos currently disabled. see issue https://github.com/SwissLife-OSS/snapshooter/issues/196.
57+
os: [ubuntu-latest, windows-latest]
5358
timeout-minutes: 30
5459

5560
steps:
@@ -58,6 +63,15 @@ jobs:
5863
with:
5964
dotnet-version: '6.0'
6065

66+
- name: SnapshooterHotfixSymlinkLinux
67+
if: matrix.os == 'ubuntu-latest'
68+
run: sudo ln -s "$GITHUB_WORKSPACE" /_
69+
shell: bash
70+
- name: SnapshooterHotfixSymlinkWindows
71+
if: matrix.os == 'windows-latest'
72+
run: New-Item -ItemType SymbolicLink -Path "/_" -Target "$env:GITHUB_WORKSPACE"
73+
shell: pwsh
74+
6175
- name: Tests
6276
run: |
6377
dotnet restore

.github/workflows/release.yml

+6
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ name: Release
2222
on:
2323
workflow_dispatch
2424

25+
env:
26+
SNAPSHOOTER_STRICT_MODE: true
27+
2528
jobs:
2629
release:
2730
name: Release
@@ -35,6 +38,9 @@ jobs:
3538
- uses: actions/[email protected]
3639
with:
3740
dotnet-version: '6.0'
41+
- name: SnapshooterHotfixSymlinkLinux
42+
run: sudo ln -s "$GITHUB_WORKSPACE" /_
43+
shell: bash
3844
# The tests should have already been run during the PR workflow, so this is really just a sanity check
3945
- name: Tests
4046
run: dotnet test

0 commit comments

Comments
 (0)