Skip to content

Commit

Permalink
Add CircleCI config
Browse files Browse the repository at this point in the history
  • Loading branch information
zeug-it committed Feb 8, 2024
1 parent f47ede9 commit 2f41870
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
jobs:
build:
docker:
- image: python:3.6 # similar to "image" in GitLab
steps:
- checkout
- run: | # similar to "script" in GitLab
pip install -r requirements.txt
python manage.py check
test:
docker:
- image: python:3.6
steps:
- checkout
- run: |
pip install -r requirements.txt
python manage.py test taskManager
integration:
docker:
- image: python:3.6
steps:
- checkout
- run:
command: |
echo "This is an integration step"
exit 1
prod:
docker:
- image: python:3.6
steps:
- checkout
- run: echo "This is a deploy step"

workflows:
version: 2
django:
jobs:
- build
- test
- integration
- prod

0 comments on commit 2f41870

Please sign in to comment.