Skip to content

Commit

Permalink
Merge pull request #43 from SELab-2/automated-testing
Browse files Browse the repository at this point in the history
Automated testing
  • Loading branch information
francisvaut authored Mar 2, 2024
2 parents 90adea3 + 434579f commit 72e870f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/backend-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: backend-tests

on:
push:
branches: [main, development]
pull_request:
branches: [main, development]
workflow_dispatch:

jobs:
test:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r ./backend/requirements.txt
- name: Execute tests
run: python ./backend/manage.py test

0 comments on commit 72e870f

Please sign in to comment.