Skip to content

docs: update README with project details, setup, and deployment instr… #7

docs: update README with project details, setup, and deployment instr…

docs: update README with project details, setup, and deployment instr… #7

Workflow file for this run

name: CI
on:
push:
branches: [main, development]
pull_request:
branches: [main]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black
- name: Run formatting check
run: black --check .
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
env:
DJANGO_SETTINGS_MODULE: secret_notes_project.test_settings
run: |
python manage.py test
python manage.py test notes.integration_tests
python manage.py test notes.e2e_tests