From a93560e2c5cc865494d89eb9ebbe887ba0b102b9 Mon Sep 17 00:00:00 2001 From: Grzegorz Dziadkiewicz Date: Mon, 31 Oct 2022 21:52:49 +0100 Subject: [PATCH] Remove net462 testing workaround --- .github/workflows/main.yml | 2 +- fake.cmd => build.cmd | 0 fake.sh => build.sh | 0 tests/FSharpx.Tests/FSharpx.Tests.fsproj | 1 - tests/FSharpx.Tests/TestSetup.fs | 12 ------------ 5 files changed, 1 insertion(+), 14 deletions(-) rename fake.cmd => build.cmd (100%) rename fake.sh => build.sh (100%) delete mode 100644 tests/FSharpx.Tests/TestSetup.fs diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bdf03b3f6..acdd7c989 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,7 +30,7 @@ jobs: 3.1.x 6.0.x - name: Run fake build script - run: ./fake.sh + run: ./build.sh shell: bash - name: Save nuget package as artifact uses: actions/upload-artifact@v3 diff --git a/fake.cmd b/build.cmd similarity index 100% rename from fake.cmd rename to build.cmd diff --git a/fake.sh b/build.sh similarity index 100% rename from fake.sh rename to build.sh diff --git a/tests/FSharpx.Tests/FSharpx.Tests.fsproj b/tests/FSharpx.Tests/FSharpx.Tests.fsproj index 871ef8f6a..bd32394db 100644 --- a/tests/FSharpx.Tests/FSharpx.Tests.fsproj +++ b/tests/FSharpx.Tests/FSharpx.Tests.fsproj @@ -28,7 +28,6 @@ PreserveNewest - diff --git a/tests/FSharpx.Tests/TestSetup.fs b/tests/FSharpx.Tests/TestSetup.fs deleted file mode 100644 index 36e825120..000000000 --- a/tests/FSharpx.Tests/TestSetup.fs +++ /dev/null @@ -1,12 +0,0 @@ -[] -module FSharpx.Tests.TestSetup -open NUnit.Framework -open System.IO -open System.Reflection - -[] -let ``Test working directory workaround for net462`` () = - Assembly.GetExecutingAssembly().Location - |> Path.GetDirectoryName - |> Directory.SetCurrentDirectory -