dotfiles/.woodpecker/test.yml

23 lines
602 B
YAML

pipeline:
check:
image: nixpkgs/nix-flakes:latest
pull: true
commands:
- nix --no-sandbox flake metadata
- nix --no-sandbox develop --eval-store ./nix-store -c statix check ./nixos
- nix --no-sandbox flake check --eval-store ./nix-store
volumes:
- /var/lib/woodpecker/nix-store/:/nix/store
notify:
image: drillster/drone-email
settings:
host: smtp.eu.mailgun.org
username: postmaster@$peninsula.industries
password:
from_secret: mailgun_token
from: ci@peninsula.industries
when:
- status: [ failure ]