diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..c23bb02 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,29 @@ +name: Main + +on: + push: + branches: + - main + pull_request: + +jobs: + build-test: + name: Build and Test + runs-on: windows-latest + timeout-minutes: 15 + + steps: + - name: Check out code + uses: actions/checkout@v4 + + - name: Set up .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '6.0.x' + + - name: Build + run: | + dotnet msbuild DynamoPythonNet3.sln -p:Configuration=Release -restore + + - name: Test + run: dotnet test diff --git a/DSPythonNet3/DSPythonNet3.csproj b/DSPythonNet3/DSPythonNet3.csproj index eca012a..c7d994c 100644 --- a/DSPythonNet3/DSPythonNet3.csproj +++ b/DSPythonNet3/DSPythonNet3.csproj @@ -10,11 +10,11 @@ - + - + diff --git a/nuget.config b/nuget.config deleted file mode 100644 index 5053688..0000000 --- a/nuget.config +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - -