Enable CI tests for pull requests #17
10
.drone.yml
10
.drone.yml
|
@ -7,10 +7,6 @@ steps:
|
|||
pull: always
|
||||
commands:
|
||||
- cargo test --all --all-features
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
- pull_request
|
||||
|
||||
- name: auto-release
|
||||
image: xena/gitea-release
|
||||
|
@ -26,6 +22,10 @@ steps:
|
|||
- push
|
||||
branch:
|
||||
- main
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
- pull_request
|
||||
|
||||
---
|
||||
|
||||
|
@ -40,6 +40,6 @@ steps:
|
|||
environment:
|
||||
CARGO_TOKEN:
|
||||
from_secret: CARGO_TOKEN
|
||||
when:
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
|
|
Loading…
Reference in New Issue