mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-14 17:50:13 +00:00
test
This commit is contained in:
parent
c9ef74a8e1
commit
837545a35b
2 changed files with 10 additions and 2 deletions
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
|
|
@ -1,7 +1,10 @@
|
||||||
name: PluralKit CI
|
name: PluralKit CI
|
||||||
on:
|
on:
|
||||||
- push
|
push:
|
||||||
- pull_request
|
pull_request:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
dispatchData:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-ci-container:
|
build-ci-container:
|
||||||
|
|
@ -22,5 +25,7 @@ jobs:
|
||||||
needs: ["build-ci-container"]
|
needs: ["build-ci-container"]
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/pluralkit/ci:${{ github.sha }}
|
image: ghcr.io/pluralkit/ci:${{ github.sha }}
|
||||||
|
env:
|
||||||
|
DISPATCH_DATA: ${{ inputs.dispatchData }}
|
||||||
steps:
|
steps:
|
||||||
- run: /run_ci.py
|
- run: /run_ci.py
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
import os
|
||||||
|
|
||||||
print("hello from python!")
|
print("hello from python!")
|
||||||
|
print(f"data: {os.environment.get("DISPATCH_DATA")}")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue