Compare commits

..

3 Commits

Author SHA1 Message Date
83be3c8826 ci: Use pubcached also for the tests
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-08-22 19:51:08 +02:00
48ff0784f4 ci: Only notify on failures
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-08-22 19:47:40 +02:00
9d9e6ddc1e ci: Fix the CI by using pubcached
Also, notify of CI status
2023-08-22 19:46:30 +02:00

View File

@ -3,12 +3,13 @@ pipeline:
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 --no-precompile - 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: test:
image: dart:3.0.7 image: dart:3.0.7
commands: commands:
- dart pub get # Proxy requests to pub.dev using pubcached
- PUB_HOSTED_URL=http://172.17.0.1:8000 dart pub get
- dart test - dart test
notify: notify:
image: git.polynom.me/papatutuwawa/woodpecker-xmpp image: git.polynom.me/papatutuwawa/woodpecker-xmpp
@ -20,5 +21,4 @@ pipeline:
secrets: [ xmpp_jid, xmpp_password, xmpp_server ] secrets: [ xmpp_jid, xmpp_password, xmpp_server ]
when: when:
status: status:
- success
- failure - failure