diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml new file mode 100644 index 00000000..fc92b2de --- /dev/null +++ b/.github/workflows/run-tests.yml @@ -0,0 +1,27 @@ +name: Run Tests + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + generate-docs: + runs-on: windows-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Add msbuild to PATH + uses: microsoft/setup-msbuild@v1.1 + - name: Add vstest to PATH + uses: darenm/Setup-VSTest@v1 + - name: Create empty TeeChart license file + run: copy /Y nul > "source\My Project\TeeChart.licenses" + - name: Build Wave + run: msbuild source\Wave.vbproj -restore -property:Platform=x64 -property:Configuration=Debug + - name: Build Wave.Tests + run: msbuild source\tests\Wave.Tests.vbproj -restore -property:Platform=x64 -property:Configuration=Debug + - name: Run Tests + run: vstest.console.exe tests\bin\x64\Debug\Wave.Tests.dll /Platform:x64 \ No newline at end of file