Skip to content

Merge pull request #2209 from Nexus-Mods/disable-apply-if-not-running-2 #1623

Merge pull request #2209 from Nexus-Mods/disable-apply-if-not-running-2

Merge pull request #2209 from Nexus-Mods/disable-apply-if-not-running-2 #1623

name: Networking Tests
on:
schedule:
- cron: '0 12 * * *'
workflow_dispatch:
push:
branches:
- main
jobs:
build:
name: Test ${{ matrix.project }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}
environment: test
env:
NEXUS_API_KEY: ${{ secrets.NEXUS_API_KEY }}
strategy:
matrix:
#os: [ubuntu-latest, windows-latest, macos-latest]
os: [windows-latest]
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"
- name: Setup .NET 8.x
uses: actions/setup-dotnet@v4
id: stepid
with:
dotnet-version: '8.x'
- name: Print debug info
run: dotnet --info
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Tests
run: dotnet test --no-build --logger "GitHubActions" --filter "RequiresNetworking!=True" --collect:"XPlat Code Coverage;Format=opencover" --blame-hang-timeout 20m