[FAQ Bot] NEW: Why are there unexpected years in lpep_pickup_datetime after loading tax #13
This file contains hidden or 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 Website | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - 'website/**' | |
| - '_questions/**' | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - 'website/**' | |
| - '_questions/**' | |
| jobs: | |
| unit-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| - uses: astral-sh/setup-uv@v4 | |
| - name: Install dependencies | |
| working-directory: ./website | |
| run: uv sync --dev | |
| - name: Run unit tests | |
| working-directory: ./website | |
| run: uv run pytest tests/ -v | |
| integration-tests: | |
| needs: unit-tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| - uses: astral-sh/setup-uv@v4 | |
| - name: Install dependencies | |
| working-directory: ./website | |
| run: uv sync --dev | |
| - name: Run integration tests | |
| working-directory: ./website | |
| run: uv run pytest tests_integration/ -v |