ci: add workflow for forgejo actions
This commit is contained in:
parent
d87df48df2
commit
2d1124cee1
1 changed files with 22 additions and 0 deletions
22
.forgejo/workflows/workflow.yaml
Normal file
22
.forgejo/workflows/workflow.yaml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
---
|
||||||
|
name: test
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- reopened
|
||||||
|
- synchronize
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- name: Checkout Repository
|
||||||
|
uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
|
- name: Install Python 3
|
||||||
|
uses: https://github.com/actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.12'
|
||||||
|
- name: Test Code
|
||||||
|
run: python tests.py
|
Loading…
Reference in a new issue