Skip to content

Commit

Permalink
Add simple integration test (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
christophetd authored Nov 28, 2022
1 parent b36c5fa commit 1c517ff
Show file tree
Hide file tree
Showing 2 changed files with 174 additions and 151 deletions.
23 changes: 22 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
contents: read

jobs:
test:
unit-tests:
runs-on: ubuntu-latest

steps:
Expand All @@ -38,6 +38,27 @@ jobs:
- name: Core unit tests
run: make test-core

integration-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0

- name: 'Set up Python 3.10'
uses: actions/setup-python@v3
with:
python-version: "3.10"

- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Run GuardDog against a remote package
run: python -m guarddog scan requests


docker-build:
runs-on: ubuntu-latest
permissions:
Expand Down
Loading

0 comments on commit 1c517ff

Please sign in to comment.