You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
451 B
YAML
24 lines
451 B
YAML
12 months ago
|
version: 1
|
||
|
when:
|
||
|
- event: [pull_request]
|
||
|
- event: push
|
||
|
branch:
|
||
|
- ${CI_REPO_DEFAULT_BRANCH}
|
||
|
- release/*
|
||
|
- fix/*
|
||
|
steps:
|
||
|
test:
|
||
|
image: rust:alpine
|
||
|
commands:
|
||
|
- cargo clippy
|
||
|
- cargo test --verbose --package bot-coreutils
|
||
|
- cargo test --verbose --package bot-database
|
||
|
- cargo test --verbose
|
||
|
|
||
|
build:
|
||
|
image: rust:alpine
|
||
|
commands:
|
||
|
- cargo build
|
||
|
when:
|
||
|
- event: [pull_request]
|