Skip to content

Commit

Permalink
Added unit tests for CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
Smurf2-pluto committed Nov 30, 2023
1 parent 7873a4d commit 3fe25ee
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI-UnitTests

on: [push]

jobs:
build:
runs-on: ubuntu-latest
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 django==3.2
pip install dj-database-url
- name: Run tests
run: python -m runtests

0 comments on commit 3fe25ee

Please sign in to comment.