feat: Generate "today" forecast if not available #6
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: Code Quality | |
on: [ pull_request ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- run: pip install --upgrade pip | |
# install ruff, mypy, black, and pytest | |
- run: pip install ruff mypy black pytest | |
- run: ruff check app | |
- run: black --check app | |
# install dependencies and test | |
- run: pip install -r app/requirements.txt | |
- run: pytest app |