ci: Merge lint and test steps
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
bdc05fec2b
commit
ed6dcbee7a
@ -1,16 +1,14 @@
|
||||
pipeline:
|
||||
lint:
|
||||
analysis:
|
||||
image: dart:3.0.7
|
||||
commands:
|
||||
# Proxy requests to pub.dev using pubcached
|
||||
- PUB_HOSTED_URL=http://172.17.0.1:8000 dart pub get
|
||||
- dart analyze --fatal-infos --fatal-warnings
|
||||
test:
|
||||
image: dart:3.0.7
|
||||
commands:
|
||||
# Proxy requests to pub.dev using pubcached
|
||||
- PUB_HOSTED_URL=http://172.17.0.1:8000 dart pub get
|
||||
- dart test
|
||||
when:
|
||||
path:
|
||||
includes: ['lib/**', 'test/**']
|
||||
notify:
|
||||
image: git.polynom.me/papatutuwawa/woodpecker-xmpp
|
||||
settings:
|
||||
|
Loading…
Reference in New Issue
Block a user