Skip to content

Commit

Permalink
Merge pull request #52 from ripe-tech/hg/py27
Browse files Browse the repository at this point in the history
fix: remove py2.7 github.com/actions/runner-images/issues/7401
  • Loading branch information
3rdvision committed May 24, 2023
2 parents 10a9031 + e4b8e23 commit 632d564
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Build
strategy:
matrix:
python-version: [2.7]
python-version: [3.5]
runs-on: ubuntu-latest
container: python:${{ matrix.python-version }}
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
name: Build
strategy:
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, "3.10", rc]
python-version: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "rc"]
runs-on: ubuntu-latest
container: python:${{ matrix.python-version }}
steps:
Expand All @@ -16,17 +16,17 @@ jobs:
pip install pylint
curl https://raw.githubusercontent.com/ripe-tech/pylint-config/master/pylintrc --output pylintrc
PYTHONPATH=src pylint src/ripe
if: matrix.python-version != '2.7' && matrix.python-version != '3.5'
if: matrix.python-version != '3.5'
- run: |
pip install black
black . --check --config ./pyproject.toml
if: matrix.python-version != '2.7' && matrix.python-version != '3.5'
if: matrix.python-version != '3.5'
- run: python setup.py test
- run: |
pip install coveralls
coverage run --source=ripe --omit="src/ripe/test/*" setup.py test
coveralls
if: matrix.python-version != '2.7' && matrix.python-version != '3.5'
if: matrix.python-version != '3.5'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}

0 comments on commit 632d564

Please sign in to comment.