Update python-app.yml

This commit is contained in:
DarkShy
2024-01-08 09:53:06 +03:00
committed by GitHub
parent c639874d19
commit 08e29bd181

View File

@@ -16,13 +16,17 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
@@ -30,4 +34,5 @@ jobs:
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Start app
run: |
python3 pony.py
pytest pony.py --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html