Files
python-action-test/.gitea/workflows/python-action-test.yml
T

28 lines
554 B
YAML

name: Python Action Test
run-name: ${{ gitea.actor }}
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.14
- name: Install test dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest
- name: Run unit tests
run: pytest