Skip to content

Commit

Permalink
add a workflow for running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jamaa committed Jul 15, 2023
1 parent 5068b6b commit 46c6153
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Run Tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
run-tests:
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"
shell: cmd
- name: Build Wave
run: msbuild source\Wave.vbproj -restore -property:Platform=x64 -property:Configuration=Debug
- name: Build Wave.Tests
run: msbuild 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

0 comments on commit 46c6153

Please sign in to comment.