changed the .net version to 7.0.x in the github actions files #68
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: build-and-tests | |
on: [push, fork] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
services: | |
mysql: | |
image: mysql:8.0 | |
env: | |
MYSQL_ROOT_PASSWORD: 123456 | |
ports: | |
- "3306:3306" | |
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core SDK | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '7.0.x' | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build Solution | |
run: dotnet build --configuration Release --no-restore | |
- name: Test | |
run: dotnet test --no-restore /p:CollectCoverage=true /p:CoverletOutput="results/" /p:CoverletOutputFormat=lcov /p:Exclude="[EFCoreDataAccess.*]*" | |
- name: Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: "./tests/EFCoreDataAccess.Tests/results/coverage.info" |