Skip to content

Commit

Permalink
Remove tests ci step
Browse files Browse the repository at this point in the history
  • Loading branch information
vigonotion committed Apr 12, 2021
1 parent dc4dd8b commit 5d57d68
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,26 +33,27 @@ jobs:
- run: python3 -m pip install black
- run: black .

tests:
runs-on: "ubuntu-latest"
name: Run tests
steps:
- name: Check out code from GitHub
uses: "actions/checkout@v2"
- name: Setup Python
uses: "actions/setup-python@v1"
with:
python-version: "3.8"
- name: Install requirements
run: python3 -m pip install -r requirements_test.txt
- name: Run tests
run: |
pytest \
-qq \
--timeout=9 \
--durations=10 \
-n auto \
--cov custom_components.stadtreinigung_hamburg \
-o console_output_style=count \
-p no:sugar \
tests
# Disabled. Reason: There are no tests.
# tests:
# runs-on: "ubuntu-latest"
# name: Run tests
# steps:
# - name: Check out code from GitHub
# uses: "actions/checkout@v2"
# - name: Setup Python
# uses: "actions/setup-python@v1"
# with:
# python-version: "3.8"
# - name: Install requirements
# run: python3 -m pip install -r requirements_test.txt
# - name: Run tests
# run: |
# pytest \
# -qq \
# --timeout=9 \
# --durations=10 \
# -n auto \
# --cov custom_components.stadtreinigung_hamburg \
# -o console_output_style=count \
# -p no:sugar \
# tests

0 comments on commit 5d57d68

Please sign in to comment.