Merge pull request #17 from gui-cs/v0.5-remaining-items #58
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: CI | |
| on: | |
| push: | |
| branches: ['**'] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '10.0.x' | |
| dotnet-quality: 'preview' | |
| - name: Restore | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build --no-restore | |
| - name: Unit Tests | |
| run: dotnet run --project tests/Clet.UnitTests --no-build | |
| - name: Integration Tests | |
| run: dotnet run --project tests/Clet.IntegrationTests --no-build | |
| - name: Smoke Tests | |
| run: dotnet run --project tests/Clet.SmokeTests --no-build | |
| - name: clet --help (process smoke) | |
| run: dotnet run --project src/Clet --no-build -- --help |