Skip to content

Commit b058be9

Browse files
Update CI-appsec-blackduck-master-include-diagnostics.yml
1 parent d163bc5 commit b058be9

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/CI-appsec-blackduck-master-include-diagnostics.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
1-
name: CI-AppSec [Master-include-diagnostics]
1+
name: CI-AppSec [Master-include build and diagnostics]
22
on:
33
workflow_dispatch:
44

55
jobs:
66
blackduck-scan:
77
runs-on: [ ubuntu-latest ]
88
steps:
9-
- name: Checkout Source
10-
uses: actions/checkout@v3
11-
9+
- uses: actions/checkout@v3
10+
- name: Set up Python 3.9.12
11+
uses: actions/setup-python@v4
12+
with:
13+
python-version: "3.9.12"
14+
- name: Install dependencies
15+
run: |
16+
python -m pip install --upgrade pip
17+
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
18+
- name: Test with pytest
19+
run: |
20+
TOKEN=${{ secrets.UNIT_TOKEN }} py.test
1221
- name: Black Duck Intelligent Scan
1322
uses: synopsys-sig/[email protected]
1423
### Use below configurations to set specific detect environment varibales
@@ -50,4 +59,4 @@ jobs:
5059
mention_users_when: "failure,warnings"
5160
mention_groups: "!channel"
5261
env:
53-
SLACK_WEBHOOK_URL: ${{ env.SLACK_WEBHOOK_URL }}
62+
SLACK_WEBHOOK_URL: ${{ env.SLACK_WEBHOOK_URL }}

0 commit comments

Comments
 (0)