Skip to content

Bump NUnit from 3.14.0 to 4.0.0 #891

Bump NUnit from 3.14.0 to 4.0.0

Bump NUnit from 3.14.0 to 4.0.0 #891

name: .NET Master
on:
push:
branches: [ master, stable ]
paths-ignore:
- '**.md'
- '.github/**'
pull_request:
branches: [ master, stable ]
paths-ignore:
- '**.md'
- '.github/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: getong/[email protected]
with:
host port: 3306 # Optional, default value is 3306. The port of host
container port: 3306 # Optional, default value is 3306. The port of container
character set server: 'utf8' # Optional, default value is 'utf8mb4'. The '--character-set-server' option for mysqld
collation server: 'utf8_general_ci' # Optional, default value is 'utf8mb4_general_ci'. The '--collation-server' option for mysqld
mariadb version: '10.4.10' # Optional, default value is "latest". The version of the MariaDB
mysql database: 'some_test' # Optional, default value is "test". The specified database which will be create
mysql root password: 'secretpassword' # Required if "mysql user" is empty, default is empty. The root superuser password
mysql user: 'developer' # Required if "mysql root password" is empty, default is empty. The superuser for the specified database. Can use secrets, too
mysql password: 'passwordtoo' # Required if "mysql user" exists. The password for the "mysql user"
- name: Sleep 15 seconds
run: sleep 15
- uses: getong/[email protected]
with:
rabbitmq version: '3.8.9-management'
host port: 5672
rabbitmq user: 'admin'
rabbitmq password: 'password'
rabbitmq vhost: 'vhost_name'
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Unit Tests
run: dotnet test --no-restore -c Release -v n ServiceRentableItemsPlugin.Integration.Test/ServiceRentableItemsPlugin.Integration.Test.csproj
- name: The job has failed
if: ${{ failure() }}
run: |
cat dotnet_log
cat eform-angular-frontend/eform-client/npm_log