Move test running to separate workflow #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: [push, workflow_dispatch, pull_request] | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ilammy/msvc-dev-cmd@v1 | |
| with: | |
| arch: win32 | |
| - name: Download Catch2 test src file | |
| uses: robinraju/release-downloader@v1 | |
| with: | |
| repository: 'catchorg/Catch2' | |
| tag: 'v3.9.1' | |
| fileName: 'catch_amalgamated.cpp' | |
| out-file-path: 'test' | |
| - name: Download Catch2 test header file | |
| uses: robinraju/release-downloader@v1 | |
| with: | |
| repository: 'catchorg/Catch2' | |
| tag: 'v3.9.1' | |
| fileName: 'catch_amalgamated.hpp' | |
| out-file-path: 'test' | |
| - name: Run tests | |
| run: | | |
| nmake /nologo test |