You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/unit-testing.yml
+27-20Lines changed: 27 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ on:
4
4
types: [opened, reopened, synchronize]
5
5
jobs:
6
6
unit-testing:
7
-
runs-on: ubuntu-latest
7
+
runs-on: large-ubuntu-22.04-32core
8
8
if: "!contains(github.ref, 'refs/tags/')"#don't run on tags - future steps won't run either since they depend on this job
9
9
steps:
10
10
#For fork PRs, always check out security_content and the PR target in security content!
@@ -13,25 +13,12 @@ jobs:
13
13
with:
14
14
repository: 'splunk/security_content'#this should be the TARGET repo of the PR. we hardcode it for now
15
15
ref: ${{ github.base_ref }}
16
-
17
-
18
-
- uses: actions/setup-python@v6
19
-
with:
20
-
python-version: '3.11'#Available versions here - https://github.com/actions/python-versions/releases easy to change/make a matrix/use pypy
21
-
architecture: 'x64'# optional x64 or x86. Defaults to x64 if not specified
22
-
23
-
- name: Install Python Dependencies and ContentCTL
24
-
run: |
25
-
python -m pip install --upgrade pip
26
-
echo "- Contentctl version - $(cat requirements.txt)"
27
-
pip install -r requirements.txt
28
-
29
-
30
-
# Running contentctl test with a few arguments, before running the command make sure you checkout into the current branch of the pull request. This step only performs unit testing on all the changes against the target-branch. In most cases this target branch will be develop
31
-
# Make sure we check out the PR, even if it actually lives in a fork
0 commit comments