fix(#1701): Events page displays year for events scheduled to start or end at a future year #272
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: Check collectstatic | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version-file: '.python-version' | |
- name: Cache Python dependencies | |
uses: actions/cache@v4 | |
env: | |
cache-name: pythondotorg-cache-pip | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('requirements.txt', '*-requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}- | |
${{ runner.os }}-${{ github.job }}- | |
${{ runner.os }}- | |
- name: Install Python dependencies | |
run: | | |
pip install -U pip setuptools wheel | |
pip install -r requirements.txt -r prod-requirements.txt | |
- name: Run Tests | |
run: | | |
DJANGO_SETTINGS_MODULE=pydotorg.settings.static python manage.py collectstatic --noinput |