updated testing
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing

This commit is contained in:
jblu 2023-06-27 12:43:10 -05:00
parent 728e429979
commit a4fc54afe5
2 changed files with 29 additions and 3 deletions

View File

@ -3,7 +3,6 @@ LICENSE
*.log *.log
README.md README.md
requirements.txt requirements.txt
test_*
Dockerfile Dockerfile
*docker-test* *docker-test*
*.log *.log

View File

@ -1,6 +1,5 @@
kind: pipeline kind: pipeline
name: default name: default
steps: steps:
- name: docker - name: docker
image: plugins/docker image: plugins/docker
@ -16,6 +15,9 @@ steps:
when: when:
branch: branch:
- main - main
event:
- push
- pull_request
- name: docker-test - name: docker-test
image: plugins/docker image: plugins/docker
settings: settings:
@ -29,4 +31,29 @@ steps:
- dev - dev
when: when:
branch: branch:
- dev* - 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