diff --git a/.dockerignore b/.dockerignore index 66498e9..6d71b4a 100755 --- a/.dockerignore +++ b/.dockerignore @@ -3,7 +3,6 @@ LICENSE *.log README.md requirements.txt -test_* Dockerfile *docker-test* *.log diff --git a/.drone.yml b/.drone.yml index 620d6c2..5d1c181 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,5 @@ kind: pipeline name: default - steps: - name: docker image: plugins/docker @@ -16,6 +15,9 @@ steps: when: branch: - main + event: + - push + - pull_request - name: docker-test image: plugins/docker settings: @@ -29,4 +31,29 @@ steps: - dev when: branch: - - dev* \ No newline at end of file + - dev* + event: + - push + - pull_request +- name: test-main + image: git.jbranan.com/jblu/qbit-maid:latest + commands: + - python test_qbitmaid.py + - python test_dragnet.py + when: + branch: + - main + event: + - push + - pull_request +- name: test-dev + image: git.jbranan.com/jblu/qbit-maid:dev + commands: + - python test_qbitmaid.py + - python test_dragnet.py + when: + branch: + - dev* + event: + - push + - pull_request \ No newline at end of file