Skip to content

Commit

Permalink
ci: add docker build as test
Browse files Browse the repository at this point in the history
  • Loading branch information
biodrone committed Jan 28, 2022
1 parent f0f2b05 commit 39124f4
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
branches: [ master, staging ]

jobs:
test:
name: Test
Software_Test:
name: Software Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
Expand All @@ -24,3 +24,15 @@ jobs:
python -m poetry install
python -m poetry run pytest -v
python -m poetry run bandit -ll -c .bandit.yml streamdl.py
Docker_Test:
name: Docker Build Test
runs-on: "ubuntu-latest"
steps:
- name: Docker Build
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile.example
load: true
tags: dangeroustech/streamdl:latest

0 comments on commit 39124f4

Please sign in to comment.