Skip to content

Commit

Permalink
Build: Add Docker CI and manual Django workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
SverreNystad committed Jan 21, 2024
1 parent d15b3f2 commit 2deda60
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/docker_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Django CI

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v3
- name: Build docker image and run tests
run: |
cd backend
docker compose build
docker compose up -d
docker compose run gpf python manage.py test
docker compose down
File renamed without changes.

0 comments on commit 2deda60

Please sign in to comment.