Skip to content

Added better CI

Added better CI #55

Workflow file for this run

name: OOXMLValidator Tests
on:
push:
branches: [main]
paths-ignore:
- '**.md'
pull_request:
branches: [main]
paths-ignore:
- '**.md'
env:
AZURE_FUNCTIONAPP_NAME: OOXMLValidator # set this to your application's name
AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
jobs:
test:
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
dotnet-version:
- 6.x
- 8.x
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup DotNet ${{ matrix.dotnet-version }} Environment
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test ./OOXMLValidatorCLITests/OOXMLValidatorCLITests.csproj --no-restore --verbosity normal