Skip to content

Commit

Permalink
Upgrade workflows to Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
bramstroker committed Jun 17, 2023
1 parent d663d63 commit 09c8006
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format-code.yml
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python 3.10
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate-model-list.yml
Expand Up @@ -17,10 +17,10 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python 3.10
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install -r ${{ github.workspace }}/.github/scripts/supported_models/requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
- name: Prepare test env
run: bash tests/setup.sh
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion requirements.test.txt
@@ -1,6 +1,6 @@
black
freezegun
pytest-homeassistant-custom-component==0.13.37
pytest-homeassistant-custom-component==0.13.38
types-pytz
types-croniter
numpy
Expand Down

0 comments on commit 09c8006

Please sign in to comment.