Skip to content

Commit

Permalink
fix: remove py2.7 github.com/actions/runner-images/issues/7401
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Gomes committed May 24, 2023
1 parent b521bb6 commit 23840b6
Show file tree
Hide file tree
Showing 2 changed files with 4 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
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,22 @@ jobs:
name: Build
strategy:
matrix:
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "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:
- uses: actions/checkout@v1
- run: python --version
- run: pip install -r requirements.txt
if: matrix.python-version != '2.7'
- run: |
pip install pylint
curl https://raw.githubusercontent.com/ripe-tech/pylint-config/master/pylintrc --output pylintrc
PYTHONPATH=src pylint src/un1qnx
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
env:
TEST_CLIENT_ID : ${{ secrets.TEST_CLIENT_ID }}
Expand Down

0 comments on commit 23840b6

Please sign in to comment.