Implement Eda.Abstractions mutable interface members #3
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: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET 10 SDK | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '10.0.x' | |
| include-prerelease: true | |
| - name: Restore dependencies | |
| run: dotnet restore OriginalCircuit.Altium.sln | |
| - name: Build | |
| run: dotnet build OriginalCircuit.Altium.sln --no-restore --configuration Release | |
| - name: Test | |
| run: dotnet test tests/OriginalCircuit.Altium.Tests/ --no-build --configuration Release --logger "trx;LogFileName=test-results.trx" --results-directory ./test-results | |
| - name: Upload test results | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: test-results | |
| path: ./test-results/*.trx | |
| retention-days: 30 |