forked from Fediversity/Fediversity
part of #103. Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io> Reviewed-on: Fediversity/Fediversity#387 Co-authored-by: Kiara Grouwstra <kiara@procolix.eu> Co-committed-by: Kiara Grouwstra <kiara@procolix.eu>
46 lines
976 B
YAML
46 lines
976 B
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-peertube:
|
|
runs-on: native
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: cd services && nix-build -A tests.peertube
|
|
|
|
check-panel:
|
|
runs-on: native
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: cd panel && nix-build -A tests
|
|
|
|
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
|