Merge pull request 'updated testing' (#54) from dev-update-testing into main
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: https://git.jbranan.com/jblu/qbit-maid/pulls/54
This commit is contained in:
jblu 2023-06-27 12:46:20 -05:00
commit d2ebddf473
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:
@ -30,3 +32,28 @@ steps:
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