Fixed a few typos and made scientific names italic in README #11
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: Git workflow to test Django app with SQLite. | |
on: | |
workflow_call: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
simple_test: | |
runs-on: ubuntu-latest | |
env: | |
DJANGO_SECRET_KEY: some-test-key | |
PYTHON_VERSION: 3.10.6 | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Install requirements | |
run: | | |
pip install -r requirements.txt | |
- name: Run tests | |
env: | |
DEBUG: "0" | |
DJANGO_SECRET_KEY: ${{ env.DJANGO_SECRET_KEY }} | |
run: | | |
cd src | |
python manage.py test | |