removed exit on missing api token #17
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: Django Test | |
on: | |
push: | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
- name: Start virtual enviorment | |
run: | | |
python3 -m venv venv | |
source venv/bin/activate | |
- name: Install Poetry | |
run: | | |
python3 -m pip install poetry | |
- name: Install Django | |
run: | | |
python3 -m pip install django | |
- name: Install Dependencies | |
run: | | |
poetry install --no-interaction --no-root | |
- name: Run Tests | |
run: | | |
python3 manage.py test |