Bump NHibernate from 5.5.1 to 5.5.2 in /src/TimeoutMigrationTool #944
Workflow file for this run
This file contains 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 | |
- release-* | |
pull_request: | |
workflow_dispatch: | |
env: | |
DOTNET_NOLOGO: true | |
jobs: | |
build: | |
name: ${{ matrix.os-name }}-${{ matrix.engines }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ windows-2019, ubuntu-20.04 ] | |
engines: [ | |
AzureStorage, | |
Oracle, | |
RabbitMQ, | |
RavenDB4, | |
SqlServer, | |
AzureStorage-Oracle, | |
AzureStorage-RabbitMQ, | |
AzureStorage-RavenDB4, | |
AzureStorage-SqlServer, | |
Oracle-RabbitMQ, | |
RabbitMQ-RavenDB4, | |
RabbitMQ-SqlServer | |
] | |
include: | |
- engines: AzureStorage | |
upload-packages: true | |
# Add os-name alias for job name | |
- os: windows-2019 | |
os-name: Windows | |
- os: ubuntu-20.04 | |
os-name: Linux | |
# Additional permutations | |
- os: windows-2019 | |
os-name: Windows | |
engines: RabbitMQ-RavenDB3 | |
- os: windows-2019 | |
os-name: Windows | |
engines: RavenDB3 | |
fail-fast: false | |
steps: | |
- name: Check for secrets | |
env: | |
SECRETS_AVAILABLE: ${{ secrets.SECRETS_AVAILABLE }} | |
shell: pwsh | |
run: exit $(If ($env:SECRETS_AVAILABLE -eq 'true') { 0 } Else { 1 }) | |
- name: Checkout | |
uses: actions/checkout@v4.1.7 | |
with: | |
fetch-depth: 0 | |
- name: Setup .NET SDK | |
uses: actions/setup-dotnet@v4.0.0 | |
with: | |
dotnet-version: | | |
7.0.x | |
6.0.x | |
- name: Build | |
run: dotnet build src --configuration Release | |
- name: Upload packages | |
if: matrix.upload-packages && runner.os == 'Windows' | |
uses: actions/upload-artifact@v4.3.3 | |
with: | |
name: NuGet packages | |
path: nugets/ | |
retention-days: 7 | |
- name: Azure login | |
uses: azure/login@v2.1.1 | |
with: | |
creds: ${{ secrets.AZURE_ACI_CREDENTIALS }} | |
- name: Setup Azure Storage | |
if: contains(matrix.engines, 'AzureStorage') | |
uses: Particular/setup-azurestorage-action@v2.0.0 | |
with: | |
connection-string-name: AzureStorageConnectionString | |
azure-credentials: ${{ secrets.AZURE_ACI_CREDENTIALS }} | |
tag: TimeoutMigrationTool | |
- name: Setup Oracle | |
if: contains(matrix.engines, 'Oracle') | |
uses: Particular/setup-oracle-action@v1.4.0 | |
with: | |
connection-string-name: OracleConnectionString | |
tag: TimeoutMigrationTool | |
- name: Setup RabbitMQ | |
if: contains(matrix.engines, 'RabbitMQ') | |
uses: Particular/setup-rabbitmq-action@v1.5.0 | |
with: | |
connection-string-name: RabbitMqConnectionString | |
host-env-var-name: RabbitMqHost | |
tag: TimeoutMigrationTool | |
- name: Setup RavenDB3 | |
if: contains(matrix.engines, 'RavenDB3') | |
shell: pwsh | |
run: | | |
choco install ravendb3 --version 3.5.3 -y | |
echo "Raven3Url=http://localhost:8080" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append | |
- name: Setup RavenDB4 | |
if: contains(matrix.engines, 'RavenDB4') | |
id: setup-ravendb | |
uses: Particular/setup-ravendb-action@v1.6.0 | |
with: | |
single-connection-string-name: Raven4Url | |
ravendb-license: ${{ secrets.RAVENDB_LICENSE }} | |
ravendb-mode: Single | |
ravendb-version: 4.2-ubuntu-latest | |
tag: TimeoutMigrationTool | |
- name: Install SQL Server | |
if: contains(matrix.engines, 'SqlServer') | |
uses: Particular/install-sql-server-action@main | |
with: | |
connection-string-env-var: SqlServerConnectionString | |
catalog: nservicebus | |
extra-params: "Encrypt=False;" | |
- name: Run tests | |
uses: Particular/run-tests-action@v1.7.0 | |
with: | |
report-warnings: ${{ secrets.TESTS_REPORT_WARNINGS }} |