switched from md5 to sha256 #94
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 | |
| on: | |
| push: | |
| jobs: | |
| build-and-test-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v3 | |
| with: | |
| dotnet-version: 10.0.x | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build --no-restore | |
| - name: Tests | |
| run: dotnet test --no-build --verbosity normal --filter "Category!~Database&Category!~UI" | |
| - name: UI tests | |
| run: dotnet test --no-build --verbosity normal --filter "Category~UI" | |
| - name: Upload failed screenshots | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: test-results-artifact | |
| path: '**/ScreenshotsFails/*.png' | |
| retention-days: 1 | |
| - name: Database tests | |
| env: | |
| MINIO_ACCESS_KEY: ${{ secrets.MINIO_ACCESS_KEY }} | |
| MINIO_SECRET_KEY: ${{ secrets.MINIO_SECRET_KEY }} | |
| run: dotnet test --no-build --verbosity normal --filter Category~Database | |
| if: ${{ github.event_name == 'push' && !contains(github.event.head_commit.message, '[skip db test]') }} | |
| build-and-test-linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v3 | |
| with: | |
| dotnet-version: 10.0.x | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build --no-restore | |
| - name: Tests | |
| run: dotnet test --no-build --verbosity normal --filter "Category!~Database&Category!~UI" |