Skip to content

Commit

Permalink
test: testing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
biodrone committed Aug 18, 2022
1 parent cace008 commit 644e4d0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 73 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,21 @@ jobs:
- run: |
python -m pip install poetry bandit
python -m poetry install
python -m poetry run pytest -v
python -m poetry run bandit -ll -c .bandit.yml streamdl.py
python -m poetry run bandit -ll -c .bandit.yml streamdl_proto_srv
Docker_Test:
name: Docker Build Test
runs-on: "ubuntu-latest"
strategy:
fail-fast: true
matrix:
component: ["client", "server"]
steps:
- uses: actions/checkout@v2
- name: Docker Build
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile.example
file: Dockerfile.${{ matrix.component }}
load: true
tags: dangeroustech/streamdl:ci_test
tags: dangeroustech/streamdl_${{ matrix.component }}:ci_test
2 changes: 1 addition & 1 deletion streamdl_proto_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


def get_stream(stub):
res = stub.GetStream(pb.StatusCheck(site="site", user="hottubchick"))
res = stub.GetStream(pb.StatusCheck(site="twitch.tv", user="monstercat"))
res.error if res.error else print(f"Status Check for {res.user} was {res.active}")


Expand Down
68 changes: 0 additions & 68 deletions test_streamdl.py

This file was deleted.

0 comments on commit 644e4d0

Please sign in to comment.