Integrating ExcelDNA testing with Github Actions

20 views
Skip to first unread message

Ólavur Nón

unread,
Jun 26, 2024, 10:36:53 AMJun 26
to Excel-DNA
Hello,

Is it possible to have testing being done in Github Actions when pushing or merging into the main branch in Github? Github suggests me to use their pre-written ".NET Continuous integration", and the .yml file looks like this:
```
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: .NET

on:
  push:
    branches: [ "master" ]
  pull_request:
    branches: [ "master" ]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v4
    - name: Setup .NET
      uses: actions/setup-dotnet@v4
      with:
        dotnet-version: 8.0.x
    - name: Restore dependencies
      run: dotnet restore
    - name: Build
      run: dotnet build --no-restore
    - name: Test
      run: dotnet test --no-build --verbosity normal
```

How would i configure this to a ExcelDNA project?

Kind regards
Ólavur Nón
Reply all
Reply to author
Forward
0 new messages