forked from unimatrix/web
23 lines
800 B
YAML
23 lines
800 B
YAML
name: DuneRealms Kit Delivery CI
|
|
on:
|
|
push:
|
|
branches: [main, dev/kit-atelier-v3]
|
|
paths:
|
|
- 'network/server-control/kit*'
|
|
- 'network/server-control/player_kits.py'
|
|
- '.forgejo/workflows/kit-delivery.yml'
|
|
workflow_dispatch:
|
|
jobs:
|
|
kits:
|
|
runs-on: dune-ci
|
|
steps:
|
|
- name: Checkout
|
|
shell: bash
|
|
env:
|
|
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: |
|
|
git init .
|
|
git -c http.extraheader="AUTHORIZATION: basic $(printf 'x-access-token:%s' "$REPO_TOKEN" | base64 -w0)" fetch --depth=1 https://www.dunerealms.com/git/unimatrix/MC.git "$GITHUB_SHA"
|
|
git checkout --detach FETCH_HEAD
|
|
- name: Verify kit delivery bridge
|
|
run: python3 -m unittest discover -s network/server-control -p 'test_*.py' -v
|

Staff