updated test.yml
Some checks failed
Tox Tests / pep8 (push) Has been cancelled
Tox Tests / test-setup (py314-setup, 3.14) (push) Has been cancelled
Tox Tests / c-locale-test (push) Has been cancelled
Tox Tests / test-setup (py313-setup, 3.13) (push) Has been cancelled
Tox Tests / unit-tests (ubuntu-latest, 3.14) (push) Has been cancelled
Tox Tests / unit-tests (ubuntu-latest, 3.13) (push) Has been cancelled
Some checks failed
Tox Tests / pep8 (push) Has been cancelled
Tox Tests / test-setup (py314-setup, 3.14) (push) Has been cancelled
Tox Tests / c-locale-test (push) Has been cancelled
Tox Tests / test-setup (py313-setup, 3.13) (push) Has been cancelled
Tox Tests / unit-tests (ubuntu-latest, 3.14) (push) Has been cancelled
Tox Tests / unit-tests (ubuntu-latest, 3.13) (push) Has been cancelled
This commit is contained in:
54
.github/workflows/tests.yml
vendored
54
.github/workflows/tests.yml
vendored
@@ -5,8 +5,8 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-18.04, macos-10.15]
|
||||
python-version: [3.6, 3.7, 3.8, 3.9, '3.10']
|
||||
os: [ubuntu-latest]
|
||||
python-version: ["3.13", "3.14"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@@ -30,13 +30,13 @@ jobs:
|
||||
|
||||
# do some tests with LC_ALL=C to check for locale variance
|
||||
c-locale-test:
|
||||
runs-on: ubuntu-18.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.6
|
||||
python-version: 3.13
|
||||
- name: Install requirements
|
||||
run: |
|
||||
sed -i -e 's/^/#/' tests/gnupghome/gpg-agent.conf
|
||||
@@ -55,20 +55,14 @@ jobs:
|
||||
|
||||
# test setup.py using each tested version
|
||||
test-setup:
|
||||
runs-on: ubuntu-18.04
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- python-version: 3.6
|
||||
env: py36-setup
|
||||
- python-version: 3.7
|
||||
env: py37-setup
|
||||
- python-version: 3.8
|
||||
env: py38-setup
|
||||
- python-version: 3.9
|
||||
env: py39-setup
|
||||
- python-version: '3.10'
|
||||
env: py310-setup
|
||||
- python-version: '3.13'
|
||||
env: py313-setup
|
||||
- python-version: '3.14'
|
||||
env: py314-setup
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@@ -83,7 +77,7 @@ jobs:
|
||||
|
||||
# add a pep8 test
|
||||
pep8:
|
||||
runs-on: ubuntu-18.04
|
||||
runs-on: ubuntu-latest
|
||||
continue-on-error: true # pep8 failures shouldn't be considered fatal
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@@ -96,17 +90,17 @@ jobs:
|
||||
run: tox -e pep8
|
||||
|
||||
# report coverage to coveralls, but only for pytest runs
|
||||
finish-coveralls:
|
||||
needs: [ unit-tests, c-locale-test ]
|
||||
runs-on: ubuntu-18.04
|
||||
|
||||
steps:
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.6
|
||||
- name: Finish Coveralls
|
||||
run: |
|
||||
pip install coveralls
|
||||
coveralls --service=github --finish
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# finish-coveralls:
|
||||
# needs: [ unit-tests, c-locale-test ]
|
||||
# runs-on: ubuntu-latest
|
||||
#
|
||||
# steps:
|
||||
# - uses: actions/setup-python@v2
|
||||
# with:
|
||||
# python-version: 3.13
|
||||
# - name: Finish Coveralls
|
||||
# run: |
|
||||
# pip install coveralls
|
||||
# coveralls --service=github --finish
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user