Skip to content

Added unit tests for CI/CD #1

Added unit tests for CI/CD

Added unit tests for CI/CD #1

Workflow file for this run

name: CI-UnitTests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:9.6
env:
POSTGRES_DB: default
POSTGRES_USER: postgres
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Check out source repository
uses: actions/checkout@v3
- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
pip install --upgrade pip wheel setuptools
pip install django==3.2