adds more verbosity to test step #229
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: Build and Test Module | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@v4 | |
| - name: Install Dependencies | |
| shell: pwsh | |
| run: "./install.ps1" | |
| - name: Build | |
| shell: pwsh | |
| run: Invoke-Build Build | |
| - name: Tests | |
| shell: pwsh | |
| run: Invoke-Build test -Output Detailed | |
| - name: Upload code coverage report | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| file: "coverage.xml" | |
| - name: Package Module | |
| run: Compress-Archive -Path output/quickpath -DestinationPath quickpath.zip | |
| shell: pwsh | |
| - name: Upload Module | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: "quickpath" | |
| path: "quickpath.zip" |