Skip to content

Commit

Permalink
Add simple integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
christophetd committed Nov 28, 2022
1 parent b36c5fa commit 2d66caf
Show file tree
Hide file tree
Showing 2 changed files with 175 additions and 151 deletions.
24 changes: 23 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,28 @@ jobs:
- name: Core unit tests
run: make test-core

integration-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.5.0
with:
fetch-depth: 0

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

- name: Install GuardDog
run: |
python -m pip install poetry --user
poetry install
- 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 2d66caf

Please # to comment.