Create fr.json to add french translations to UI config flow #182
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: Run Tests | |
on: | |
push: | |
branches: [releases] | |
pull_request: | |
branches: [releases] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set timezone | |
run: | | |
sudo timedatectl set-timezone America/New_York | |
timedatectl | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install -r requirements.test.txt | |
- name: Run pytest | |
run: | | |
pytest tests/ | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
fail_ci_if_error: true | |
token: ${{ secrets.CODECOV_TOKEN }} | |