Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ollo69 committed Feb 18, 2024
1 parent a719bbc commit 4ac9697
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/hassfest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- master

pull_request:
branches: "*"
branches: ["*"]

schedule:
- cron: "0 0 * * *"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- master

pull_request:
branches: "*"
branches: ["*"]

jobs:
lint:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11.7", "3.12.1"]
python-version: ["3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- master

pull_request:
branches: "*"
branches: ["*"]

schedule:
- cron: "0 0 * * *"
Expand Down
7 changes: 5 additions & 2 deletions tests/test_config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@

import asyncio
from http import HTTPStatus
from unittest.mock import AsyncMock, patch

from aiohttp import ClientError, ClientResponseError
import pymelcloud
import pytest
from pytest_homeassistant_custom_component.common import MockConfigEntry
from pytest_homeassistant_custom_component.common import (
AsyncMock,
MockConfigEntry,
patch,
)

from homeassistant import config_entries, data_entry_flow

Expand Down

0 comments on commit 4ac9697

Please sign in to comment.