Skip to content

Commit

Permalink
update ctl comand
Browse files Browse the repository at this point in the history
  • Loading branch information
patel-bhavin committed Jul 8, 2024
1 parent 2092c54 commit 513c6b2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/unit-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,12 @@ jobs:
python-version: '3.11' #Available versions here - https://github.com/actions/python-versions/releases easy to change/make a matrix/use pypy
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified

- name: Install System Packages
- name: Install System Packages and contentctl
run: |
sudo apt update -qq
sudo apt install jq -qq
- name: Install Python Dependencies
run: |
pip install contentctl
git clone --depth=1 --single-branch --branch=master https://github.com/redcanaryco/atomic-red-team.git
- name: Run ContentCTL test for changes against develop
run: |
Expand All @@ -35,7 +32,7 @@ jobs:
git pull > /dev/null 2>&1
git checkout ${{ github.head_ref }}
echo "The target branch for this PR is ${{ github.base_ref }}"
contentctl test --disable-tqdm --post-test-behavior never_pause mode:changes target-branch ${{ github.base_ref }}
contentctl test --disable-tqdm --post-test-behavior never_pause mode:changes --mode.target-branch ${{ github.base_ref }}
mkdir test_results
mkdir artifacts
cp summary.yml test_results/
Expand Down

0 comments on commit 513c6b2

Please sign in to comment.