Add better hosts seed test data #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: paradrop | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install Python Dependencies | |
run: | | |
make pip | |
- name: Run Linters | |
run: | | |
make lint | |
- name: Provision Paradrop Stack with Seed Data | |
run: | | |
make docker | |
- name: Test with Python unittest | |
run: | | |
make pytest | |
- name: Run Vulnerability Scanner On paradrop-api Image | |
uses: aquasecurity/trivy-action@master | |
with: | |
image-ref: paradrop-api | |
exit-code: 0 | |
severity: HIGH,CRITICAL,MEDIUM | |
- name: Run Vulnerability Scanner On paradrop-ui Image | |
uses: aquasecurity/trivy-action@master | |
with: | |
image-ref: paradrop-ui | |
exit-code: 0 | |
severity: HIGH,CRITICAL,MEDIUM | |
- name: Run Vulnerability Scanner On paradrop-docs Image | |
uses: aquasecurity/trivy-action@master | |
with: | |
image-ref: paradrop-docs | |
exit-code: 0 | |
severity: HIGH,CRITICAL,MEDIUM |