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:
|
pipeline:
|
||||||
lint:
|
analysis:
|
||||||
image: dart:3.0.7
|
image: dart:3.0.7
|
||||||
commands:
|
commands:
|
||||||
# Proxy requests to pub.dev using pubcached
|
# Proxy requests to pub.dev using pubcached
|
||||||
- PUB_HOSTED_URL=http://172.17.0.1:8000 dart pub get
|
- PUB_HOSTED_URL=http://172.17.0.1:8000 dart pub get
|
||||||
- dart analyze --fatal-infos --fatal-warnings
|
- 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
|
- dart test
|
||||||
|
when:
|
||||||
|
path:
|
||||||
|
includes: ['lib/**', 'test/**']
|
||||||
notify:
|
notify:
|
||||||
image: git.polynom.me/papatutuwawa/woodpecker-xmpp
|
image: git.polynom.me/papatutuwawa/woodpecker-xmpp
|
||||||
settings:
|
settings:
|
||||||
|
Loading…
Reference in New Issue
Block a user