Skip to content

Merge pull request #132 from freol35241/dependabot/pip/pytest-homeass… #109

Merge pull request #132 from freol35241/dependabot/pip/pytest-homeass…

Merge pull request #132 from freol35241/dependabot/pip/pytest-homeass… #109

Workflow file for this run

name: Testing
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v3
- name: Build and run Dev Container task
uses: devcontainers/[email protected]
with:
runCmd: |
python -m pytest -p no:homeassistant tests/pytest/test_databases.py
bats:
runs-on: ubuntu-latest
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetches all history of all tags and branches, necessary for running migration tests
- name: Build and run Dev Container task
uses: devcontainers/[email protected]
with:
runCmd: |
bats tests/bats