fix: replace ToLower/ToUpper with culture-invariant equivalents for S… #124
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: Oracle CI build | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| env: | |
| config: Release | |
| disable_test_parallelization: true | |
| DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
| DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | |
| db_pwd: P@55w0rd | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 45 | |
| strategy: | |
| matrix: | |
| framework: | |
| - net8.0 | |
| - net9.0 | |
| - net10.0 | |
| name: Oracle ${{ matrix.framework }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Start Oracle via docker-compose | |
| run: docker compose up -d oracle | |
| - name: Wait for Oracle to be healthy | |
| run: | | |
| echo "Waiting for Oracle to be ready..." | |
| timeout 300 bash -c 'until docker compose exec -T oracle healthcheck.sh; do sleep 10; done' | |
| echo "Oracle is ready" | |
| - name: Install .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: | | |
| 8.0.x | |
| 9.0.x | |
| 10.0.x | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build --no-restore | |
| - name: Test | |
| env: | |
| weasel_oracle_testing_database: "Data Source=localhost:1521/FREEPDB1;User Id=weasel;Password=${{ env.db_pwd }};" | |
| run: dotnet test src/Weasel.Oracle.Tests/Weasel.Oracle.Tests.csproj --no-build --verbosity normal --framework ${{ matrix.framework }} | |
| - name: Stop Oracle | |
| if: always() | |
| run: docker compose down |