diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index f3043b2..6c4ac35 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -39,7 +39,7 @@ jobs: - name: Setup Python uses: "actions/setup-python@v1" with: - python-version: "3.10" + python-version: "3.12" - name: Install requirements run: python3 -m pip install -r requirements_test.txt - name: Run tests diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index e4c34ea..3d79570 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -29,7 +29,7 @@ jobs: - uses: "actions/checkout@v2" - uses: "actions/setup-python@v4" with: - python-version: "3.10" + python-version: "3.12" - run: python3 -m pip install black - run: black . @@ -43,7 +43,7 @@ jobs: # - name: Setup Python # uses: "actions/setup-python@v1" # with: - # python-version: "3.10" + # python-version: "3.12" # - name: Install requirements # run: python3 -m pip install -r requirements_test.txt # - name: Run tests diff --git a/requirements_test.txt b/requirements_test.txt index fd5c257..28b26d0 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1 +1,4 @@ -pytest-homeassistant-custom-component==0.12.49 +pytest-homeassistant-custom-component==0.13.45 +pytest==8.3.3 +pytest-cov==5.0.0 +pytest-xdist==3.6.1