ci: add workflow for forgejo actions

This commit is contained in:
Dan Anglin 2024-02-13 22:08:56 +00:00
parent d87df48df2
commit 2d1124cee1
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638

View 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