.github/workflows/threatcheck.yml #14
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: Check Against Defender | |
# on: | |
# push: | |
# branches: [ "main" ] | |
# pull_request: | |
# branches: [ "main" ] | |
on: | |
schedule: | |
- cron: "0 13 * * 1" | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
# Install the .NET Core workload | |
- name: Install .NET Core | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 7.0.X | |
- name: Test with ThreatCheck | |
run: dotnet test Payload_Type\athena\athena\agent_code\Tests\Agent.Tests.Defender\ /p:WindowsTest=True --logger "console;verbosity=normal" |