Skip to content

Commit 50ee476

Browse files
committed
Unit testing workflow #204, #162, #163, #184, #180, #165, #31
Signed-off-by: Caleb <[email protected]>
1 parent cb4b575 commit 50ee476

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

.github/workflows/unit_testing.yml

+8-13
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ jobs:
5555
vcpkg_triplet: x64-windows
5656

5757
runs-on: ${{ matrix.os }}
58-
defaults:
59-
run:
60-
shell: ${{ matrix.shell }}
61-
6258
steps:
6359
- name: Checkout SWMM Repo
6460
uses: actions/checkout@v4
@@ -110,18 +106,17 @@ jobs:
110106
sudo apt-get update
111107
sudo apt-get install -y mono-complete
112108
113-
- name: Install Mono (macOS)
114-
if: ${{ matrix.os == 'macos-latest' || matrix.os == 'macos-13' }}
109+
- name: Install NuGet (Linux)
110+
if: ${{ matrix.os == 'ubuntu-latest' }}
115111
run: |
116-
brew install mono
112+
sudo apt-get update
113+
sudo apt-get install -y nuget
114+
nuget update -self
117115
118-
- name: Install NuGet
119-
if: ${{ matrix.os != 'windows-latest' }}
116+
- name: Install NuGet (macOS)
117+
if: ${{ matrix.os == 'macos-latest' || matrix.os == 'macos-13' }}
120118
run: |
121-
mono --version
122-
wget https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -O /usr/local/bin/nuget.exe
123-
chmod +x /usr/local/bin/nuget.exe
124-
alias nuget='mono /usr/local/bin/nuget.exe'
119+
brew install nuget
125120
nuget update -self
126121
127122
- name: Configure Binary Sources (Windows)

0 commit comments

Comments
 (0)