Skip to content

Update pipenv lockfile #111

Update pipenv lockfile

Update pipenv lockfile #111

Workflow file for this run

name: test
on:
pull_request:
branches:
- main
paths:
- "src/**"
- "tests/**"
- "Pipfile*"
- "requirements.txt"
- ".github/workflows/test.yml"
workflow_dispatch:
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
jobs:
test:
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
matrix:
os: ["ubuntu-latest", "windows-latest"]
fail-fast: false
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.14"
architecture: "x64"
cache: "pipenv"
cache-dependency-path: Pipfile.lock
- name: Install pipenv
run: pip install --prefer-binary -r requirements.txt
- name: Install environment dependencies
run: pipenv sync --dev
- name: Check formatting
run: pipenv run black --check .
- name: Check linting
run: pipenv run flake8 .
- name: Run tests
run: pipenv run python -m unittest
env:
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
OPENWEATHER_API_KEY: ${{ secrets.OPENWEATHER_API_KEY }}
F1_CALENDAR_URL: ${{ vars.F1_CALENDAR_URL }}