Merge pull request #66 from ChicoState/parser #55
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 Tests | |
on: | |
push: | |
branches: | |
- main | |
- coverage | |
pull_request: | |
branches: | |
- main | |
- coverage | |
jobs: | |
install: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
build: | |
needs: install | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.11 | |
- name: Install Dependencies | |
run: | | |
cd ScheduleBuilder | |
pip install -r requirements.txt | |
- name: Run Account Tests | |
env: | |
CAL_ID: c_6ed17073345c64d5b392f5a8ef7b4a62938f12c8fc5fecfa4b7256ef88acad28@group.calendar.google.com | |
run: | | |
cd ScheduleBuilder | |
python manage.py makemigrations | |
python manage.py migrate | |
cd account | |
pytest regtests.py |