Skip to content

Update dependencies for test project (#15) #9

Update dependencies for test project (#15)

Update dependencies for test project (#15) #9

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
env:
CONFIGURATION: 'Release'
jobs:
build-and-test:
name: build-and-test--${{ matrix.os-version }}
runs-on: ${{ matrix.os-version }}
strategy:
matrix:
os-version: [windows-latest] #, ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: .NET setup
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: .NET info
run: dotnet --info
- name: .NET restore
run: dotnet restore ./src
- name: .NET build
run: dotnet build ./src/Dax.Formatter.sln --configuration ${{ env.CONFIGURATION }} --no-restore
- name: .NET test
run: dotnet test ./src/Dax.Formatter.Tests/Dax.Formatter.Tests.csproj --configuration ${{ env.CONFIGURATION }} --no-build --verbosity normal
- name: .NET pack
run: dotnet pack ./src/Dax.Formatter/Dax.Formatter.csproj --configuration ${{ env.CONFIGURATION }} --no-build --no-restore --verbosity normal