Skip to content

Commit

Permalink
#2 Added snyk scan command to circleci build
Browse files Browse the repository at this point in the history
  • Loading branch information
bama4 committed Feb 15, 2021
1 parent f143b3f commit 2bfbbc5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# A CircleCI configuration file because we do continuous integration testing!

version: 2

version: 2.1
orbs:
snyk: snyk/[email protected]
jobs:
build:
docker:
Expand Down Expand Up @@ -91,6 +92,8 @@ jobs:
- run: coverage report # output to stdout.
- run: coverage xml # generate report artifact coverage.xml.
- run: coverage html # generate report artifact htmlcov/*.
- snyk/scan:
docker-image-name: $IMAGE_NAME
- store_artifacts:
path: coverage.xml
- store_artifacts:
Expand Down

0 comments on commit 2bfbbc5

Please sign in to comment.