Files
pyproj/.gitea/workflows/test.yml
FoxVoland 762f36beab CI update
added
Docker on tag
Autotest on mergerequest to main
2026-09-16 20:17:27 +03:00

50 lines
933 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: Tests
on:
pull_request:
branches:
- main
jobs:
pytest:
# Имя твоего Gitea Runner.
# У тебя уже используется docker-amd64 в build.yml.
runs-on: docker-amd64
steps:
# -------------------------
# Checkout repository
# -------------------------
- name: Checkout
uses: actions/checkout@v4
# -------------------------
# Python
# -------------------------
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ".py-version"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r req.txt
python -m pip install -r req-dev.txt
# -------------------------
# Tests
# -------------------------
- name: Run tests
run: |
python -m pytest