Start adding tests to Tin #215
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: CI | |
on: | |
- push | |
- pull_request | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- 3.8 | |
steps: | |
- name: Set up repo | |
uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: pipenv | |
- name: Install dependencies | |
run: | | |
set -e | |
pip install pipenv | |
pipenv install --dev --deploy | |
- name: Check Pipfile.lock | |
run: pipenv verify | |
- name: Run Tests | |
run: pipenv run python3 manage.py test |