Skip to content

ci: 更正触发目录 #2

ci: 更正触发目录

ci: 更正触发目录 #2

Workflow file for this run

name: Nonebot Plugin Test
on:
workflow_dispatch:
push:
branches: [ "master" ]
paths:
- ".github/actions/setup-python/**"
- ".github/workflows/plugin-test.yml"
- "nonebot_plugin_dg_lab_play/**"
- "pyproject.toml"
- "poetry.lock"
pull_request:
branches: [ "master" ]
paths:
- ".github/actions/setup-python/**"
- ".github/workflows/plugin-test.yml"
- "nonebot_plugin_dg_lab_play/**"
- "pyproject.toml"
- "poetry.lock"
jobs:
plugin_test:
runs-on: ubuntu-latest
name: nonebot2 plugin test
permissions:
issues: read
outputs:
result: ${{ steps.plugin-test.outputs.RESULT }}
output: ${{ steps.plugin-test.outputs.OUTPUT }}
metadata: ${{ steps.plugin-test.outputs.METADATA }}
steps:
- name: Setup Python environment
uses: ./.github/actions/setup-python
with:
python-version: "3.11"
- name: Test Plugin
id: plugin-test
run: |
curl -sSL https://github.com/nonebot/noneflow/releases/latest/download/plugin_test.py | python -