Files
PGPy-3_13_patch/.github/workflows/tests.yml
craftin af91b7daa8
Some checks failed
Tox Tests / unit-tests (ubuntu-latest, 3.13) (push) Failing after 5m39s
Tox Tests / c-locale-test (push) Failing after 5m38s
Tox Tests / test-setup (py313-setup, 3.13) (push) Failing after 5m43s
Tox Tests / unit-tests (ubuntu-latest, 3.14) (push) Failing after 5m55s
Tox Tests / pep8 (push) Failing after 57s
Tox Tests / test-setup (py314-setup, 3.14) (push) Failing after 1m17s
removed coveralls from tests.yml
2026-02-11 15:43:38 +03:00

85 lines
2.3 KiB
YAML

name: Tox Tests
on: [push, pull_request]
jobs:
unit-tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.13", "3.14"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install requirements
run: |
sed -i -e 's/^/#/' tests/gnupghome/gpg-agent.conf
if [ "$(uname)" = "Darwin" ]; then ./install_dependencies.osx.sh; else ./install_dependencies.linux.sh; fi
pip install tox coveralls
- name: Run Tox
run: ./tox.sh -e py
# do some tests with LC_ALL=C to check for locale variance
c-locale-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.13
- name: Install requirements
run: |
sed -i -e 's/^/#/' tests/gnupghome/gpg-agent.conf
./install_dependencies.linux.sh
pip install tox coveralls
- name: Run Tox
run: ./tox.sh -e py
env:
LC_ALL: C
- name: Upload Coveralls coverage
if: ${{ success() }}
run: coveralls --service=github
env:
COVERALLS_PARALLEL: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# test setup.py using each tested version
test-setup:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- python-version: '3.13'
env: py313-setup
- python-version: '3.14'
env: py314-setup
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: pip install tox
- name: Run tox
run: tox -e ${{ matrix.env }}
# add a pep8 test
pep8:
runs-on: ubuntu-latest
continue-on-error: true # pep8 failures shouldn't be considered fatal
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.6
- name: Install tox
run: pip install tox
- name: Run tox
run: tox -e pep8