Fediversity/.woodpecker/ci.yaml
2025-07-26 14:23:39 +02:00

43 lines
1 KiB
YAML

when:
- event: manual
- event: pull_request
- event: push
branch: main
steps:
- name: build
image: bash
commands:
- nix-build -A tests
- name: check-pre-commit
image: bash
commands:
- nix-build -A tests
- name: check-data-model
image: bash
commands:
- nix-shell --run 'nix-unit ./deployment/data-model-test.nix'
- name: check-mastodon
image: bash
commands:
- nix build .#checks.x86_64-linux.test-mastodon-service -L
- name: check-peertube
image: bash
commands:
- nix build .#checks.x86_64-linux.test-peertube-service -L
- name: check-panel
image: bash
commands:
- nix-build -A tests.panel
- name: check-deployment-basic
image: bash
commands:
- nix build .#checks.x86_64-linux.deployment-basic -L
- name: check-deployment-cli
image: bash
commands:
- nix build .#checks.x86_64-linux.deployment-cli -L
- name: check-deployment-panel
image: bash
commands:
- nix build .#checks.x86_64-linux.deployment-panel -L