From 579eed2905c9fbaf3789bc9dc4a5bf7921ed1e5f Mon Sep 17 00:00:00 2001 From: Sergei Smolianinov Date: Fri, 3 Jan 2025 21:07:05 -0800 Subject: [PATCH] Add workflows for testing technique execution --- .github/workflows/test-linux-technique.yml | 17 +++++++++++++++++ .github/workflows/test-macos-technique.yml | 17 +++++++++++++++++ .github/workflows/test-windows-technique.yml | 17 +++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 .github/workflows/test-linux-technique.yml create mode 100644 .github/workflows/test-macos-technique.yml create mode 100644 .github/workflows/test-windows-technique.yml diff --git a/.github/workflows/test-linux-technique.yml b/.github/workflows/test-linux-technique.yml new file mode 100644 index 0000000..7701ac5 --- /dev/null +++ b/.github/workflows/test-linux-technique.yml @@ -0,0 +1,17 @@ +name: Test a Linux Technique +on: + pull_request: + branches: + - main + workflow_dispatch: + +jobs: + test-linux: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: ./ + with: + technique: T1005 + test-numbers: 2 diff --git a/.github/workflows/test-macos-technique.yml b/.github/workflows/test-macos-technique.yml new file mode 100644 index 0000000..647b8be --- /dev/null +++ b/.github/workflows/test-macos-technique.yml @@ -0,0 +1,17 @@ +name: Test a macOS Technique +on: + pull_request: + branches: + - main + workflow_dispatch: + +jobs: + test-macos: + runs-on: macos-latest + steps: + - uses: actions/checkout@v4 + + - uses: ./ + with: + technique: T1078.001 + test-numbers: 3 diff --git a/.github/workflows/test-windows-technique.yml b/.github/workflows/test-windows-technique.yml new file mode 100644 index 0000000..32896ce --- /dev/null +++ b/.github/workflows/test-windows-technique.yml @@ -0,0 +1,17 @@ +name: Test a Windows Technique +on: + pull_request: + branches: + - main + workflow_dispatch: + +jobs: + test-windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + + - uses: ./ + with: + technique: T1055.003 + test-numbers: 1