Skip to content

adding a workflow for CI #1

adding a workflow for CI

adding a workflow for CI #1

Workflow file for this run

name: Integration Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore CMSprinkle
- name: Build
run: dotnet build CMSprinkle --no-restore
unittests:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Test
run: dotnet test CMSprinkle.Tests --no-build --verbosity normal
integrationtests_couchbase:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Test
run: dotnet test CMSprinkle.Couchbase.Tests --no-build --verbosity normal
integrationtests_sqlserver:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Test
run: dotnet test CMSprinkle.SqlServer.Tests --no-build --verbosity normal