Compare commits

..

1 Commits

Author SHA1 Message Date
d4a2e7c272 Merge pull request 'dev-testing' (#2) from dev-testing into master
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-08 22:24:57 +02:00
2 changed files with 3 additions and 12 deletions

View File

@ -35,15 +35,6 @@ steps:
- pip3 install --cache-dir='./.pipcache' -r requirements.txt
- pytest test.py
- name: coverage
image: python:3.8
environment:
PRODUCER_REDIS: cache
commands:
- pip3 install --cache-dir='./.pipcache' -r requirements.txt
- pip3 install --cache-dir='./.pipcache' coverage pytest
- coverage run -m pytest test.py
- coverage report -m
- name: rebuild-cache-with-filesystem
image: meltwater/drone-cache

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
curl --header "Content-Type: application/json" \
--request POST \
--data '{"uuid":"c959ad81-58f9-4445-aab4-8f3d68aee1ad", "ip":"127.1.2.3"}' \
http://localhost:5000/ip
--request POST \
--data '{"uuid":"c959ad81-58f9-4445-aab4-8f3d68aee1ad", "ip":"127.1.2.3"}' \
http://localhost:5000/ip