Bump awscli from 1.36.17 to 1.36.25 #3892
Workflow file for this run
This file contains 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: Test | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
concurrency: | |
group: test-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
legacy: | |
name: With pytest with Home Assistant (min. supported version) | |
runs-on: ubuntu-latest | |
steps: | |
- name: 📥 Checkout the repository | |
uses: actions/[email protected] | |
- name: 🛠️ Set up Python 3.12 | |
uses: actions/[email protected] | |
with: | |
python-version: "3.12" | |
cache: 'pip' | |
cache-dependency-path: | | |
requirements_core_min.txt | |
requirements_base.txt | |
requirements_test.txt | |
- name: 📦 Install dependencies | |
run: | | |
scripts/install/pip_packages \ | |
--requirement requirements_core_min.txt \ | |
--requirement requirements_test.txt | |
scripts/install/frontend | |
- name: ⏲️ Set time zone | |
uses: szenius/[email protected] | |
with: | |
timezoneLinux: 'Asia/Singapore' | |
- name: 🏃 Run tests | |
env: | |
PYTEST: true | |
run: scripts/test | |
dev: | |
name: With pytest with Home Assistant (${{ matrix.homeassistant-version }}) & Python (${{ matrix.python-version }}) | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
homeassistant-version: | |
- "dev" | |
python-version: | |
- "3.12" | |
- "3.13" | |
steps: | |
- name: 📥 Checkout the repository | |
uses: actions/[email protected] | |
- name: 🛠️ Set up Python ${{ matrix.python-version }} | |
uses: actions/[email protected] | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
cache-dependency-path: | | |
requirements_core_min.txt | |
requirements_base.txt | |
requirements_test.txt | |
- name: 📦 Install dependencies | |
run: | | |
scripts/install/pip_packages --requirement requirements_test.txt | |
scripts/install/core_dev | |
scripts/install/frontend | |
- name: ⏲️ Set time zone | |
uses: szenius/[email protected] | |
with: | |
timezoneLinux: 'Asia/Singapore' | |
- name: 🏃 Run tests | |
env: | |
PYTEST: true | |
run: scripts/test | |
- name: 📤 Upload coverage to Codecov | |
if: ${{ matrix.python-version == '3.12' }} | |
run: | | |
scripts/coverage | |
curl -sfSL https://codecov.io/bash | bash - |