feat: add bypass support methods to VentilationDevice and corresponding tests #1247
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Format | |
| # yamllint disable-line rule:truthy | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| pull_request: | |
| workflow_dispatch: | |
| env: | |
| DEFAULT_PYTHON: "3.11" | |
| jobs: | |
| sort: | |
| name: sort testdata | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: ⤵️ Check out code from GitHub | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: 🚀 Sort test response data | |
| run: | | |
| find './tests/response' \ | |
| -maxdepth '1' \ | |
| -type 'f' \ | |
| -name '*.json' \ | |
| -exec sh -c 'mv $1 $1.tmp; jq ".data|=sort_by(.feature)" --sort-keys $1.tmp > $1; rm $1.tmp' shell {} ";" | |
| - name: 🔍 Verify | |
| run: git diff --name-only --exit-code | |
| deprecations: | |
| name: validate deprecation database | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: ⤵️ Check out code from GitHub | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Set up Python | |
| uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 | |
| with: | |
| python-version: ${{ env.DEFAULT_PYTHON }} | |
| - name: Update deprecation database | |
| run: python check_deprecations.py --update | |
| - name: Verify no changes | |
| run: git diff --exit-code | |
| if: always() |