chore(deps): update actions/upload-artifact action to v4 #204
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: Django Sqlite Mac, Linux, Windows | |
on: | |
pull_request: | |
branches: '**' | |
push: | |
branches: | |
- develop | |
schedule: | |
- cron: '0 20 * * 5' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python_version: [3.7, 3.8] | |
os: [macos-latest, windows-latest, ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python_version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python_version }} | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Django souce code check | |
run: | | |
python manage.py check | |
- name: Django test runner | |
run: | | |
python manage.py test | |
- name: Django Template validation | |
run: | | |
python manage.py validate_templates |