feat: get devices from the third party cloud (#1258) #684
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: Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| check-rule-format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install pytest pytest-asyncio pytest-dependency zeroconf paho.mqtt psutil cryptography slugify | |
| - name: Check rule format with pytest | |
| run: | | |
| pytest -v -s -m github ./test/check_rule_format.py | |
| - name: Unit test with pytest | |
| run: | | |
| pytest -v -s -m github ./test/ |