Skip to content

Merge pull request #137 from freol35241/dependabot/pip/psycopg2-binar… #126

Merge pull request #137 from freol35241/dependabot/pip/psycopg2-binar…

Merge pull request #137 from freol35241/dependabot/pip/psycopg2-binar… #126

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