Skip to content

Merge pull request #220 from freol35241/chore/bump-devcontainer-pytho… #199

Merge pull request #220 from freol35241/chore/bump-devcontainer-pytho…

Merge pull request #220 from freol35241/chore/bump-devcontainer-pytho… #199

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