Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sim0nx committed Nov 3, 2024
1 parent fee98e5 commit 2b0bd3d
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/test_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,16 @@ jobs:

- name: Run tests
run: |
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade-strategy eager .[test]
python3 -m pip install uv
uv sync --extra test
docker run -d --name openhab -p 8080:8080 -e OPENHAB_HTTP_PORT=8080 -v ${{ github.workspace }}/docker/openhab_conf:/openhab/conf "openhab/openhab:latest"
python3 docker/test_connectivity.py
uv run docker/test_connectivity.py
docker exec -i openhab /openhab/runtime/bin/client -v -p habopen users add admin admin administrator || true
sleep 2
python3 -m coverage run --omit tests --parallel-mode -m pytest -vv tests
uv run coverage run --omit tests --parallel-mode -m pytest -vv tests
ls -la
- name: Upload coverage data
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 2b0bd3d

Please sign in to comment.