Skip to content

Commit

Permalink
Merge pull request graphite-project#935 from deniszh/DZ-actual-python
Browse files Browse the repository at this point in the history
Testing only actual python versions
  • Loading branch information
deniszh authored May 5, 2022
2 parents 8140e50 + 56d108b commit 20bcee3
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/tests-amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ jobs:
- name: "Pypy 2.7"
python-version: 'pypy-2.7'
toxenv: 'pypy'
- name: "Python 3.6"
python-version: '3.6'
toxenv: 'py36'
- name: "Pypy 3.6"
python-version: 'pypy-3.6'
toxenv: 'pypy3'
- name: "Python 3.7"
python-version: '3.7'
toxenv: 'py37'
Expand All @@ -34,12 +28,12 @@ jobs:
- name: "Python 3.8"
python-version: '3.8'
toxenv: 'py38'
- name: "Python 3.9-pyhash"
python-version: '3.9'
toxenv: 'py39-pyhash'
- name: "Python 3.9"
python-version: '3.9'
toxenv: 'py39'
- name: "Python 3.10"
python-version: '3.10'
toxenv: 'py310'
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -54,22 +48,21 @@ jobs:
- name: Tests with tox
env:
TOXENV: ${{ matrix.toxenv }}
TOX_SKIP_ENV: py39\-pyhash
run: |
tox
- name: Linting
if: ${{ matrix.python-version==3.9 }}
if: ${{ matrix.python-version==3.10 }}
env:
TOXENV: lint
run: |
tox
- name: Run Codecov
if: ${{ matrix.python-version==3.9 }}
if: ${{ matrix.python-version==3.10 }}
env:
TOXENV: lint
run: |
pip install codecov
codecov
- name: Upload coverage to Codecov
if: ${{ matrix.python-version==3.9 }}
if: ${{ matrix.python-version==3.10 }}
uses: codecov/codecov-action@v1

0 comments on commit 20bcee3

Please sign in to comment.