forked from Fediversity/Fediversity
58 lines
1.3 KiB
YAML
58 lines
1.3 KiB
YAML
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
- reopened
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
check-pre-commit:
|
|
runs-on: native
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: nix-build -A tests
|
|
|
|
check-data-model:
|
|
runs-on: native
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: nix-shell --run 'nix-unit ./deployment/data-model-test.nix'
|
|
|
|
check-mastodon:
|
|
runs-on: native
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: nix build .#checks.x86_64-linux.test-mastodon-service -L
|
|
|
|
check-peertube:
|
|
runs-on: native
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: nix build .#checks.x86_64-linux.test-peertube-service -L
|
|
|
|
check-panel:
|
|
runs-on: native
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: nix-build -A tests.panel
|
|
|
|
check-deployment-basic:
|
|
runs-on: native
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: nix build .#checks.x86_64-linux.deployment-basic -L
|
|
|
|
check-deployment-cli:
|
|
runs-on: native
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: nix build .#checks.x86_64-linux.deployment-cli -L
|
|
|
|
check-deployment-panel:
|
|
runs-on: native
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: nix build .#checks.x86_64-linux.deployment-panel -L
|