add missing architecture for python setup in actions

also drop python2 builds
This commit is contained in:
Gabriel Pettier 2020-05-10 13:41:50 +02:00
parent 88212e2e61
commit 06d96a4d88
2 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,6 @@ jobs:
strategy: strategy:
matrix: matrix:
python: python:
- '2.7'
- '3.6' - '3.6'
- '3.7' - '3.7'
- '3.8' - '3.8'
@ -22,8 +21,8 @@ jobs:
# exclude problematic combinations # exclude problematic combinations
exclude: exclude:
- os: windows-latest - os: ubuntu-latest
python: '2.7' architecture: 'x86'
- os: macOs-latest - os: macOs-latest
architecture: 'x86' architecture: 'x86'
@ -34,6 +33,7 @@ jobs:
uses: actions/setup-python@v1 uses: actions/setup-python@v1
with: with:
python-version: ${{ matrix.python }} python-version: ${{ matrix.python }}
architecture: ${{ matrix.architecture }}
- name: Setup java - name: Setup java
uses: actions/setup-java@v1 uses: actions/setup-java@v1

View File

@ -6,7 +6,6 @@ jobs:
strategy: strategy:
matrix: matrix:
python: python:
- '2.7'
- '3.6' - '3.6'
- '3.7' - '3.7'
- '3.8' - '3.8'
@ -26,8 +25,8 @@ jobs:
# exclude problematic combinations # exclude problematic combinations
exclude: exclude:
- os: windows-latest - os: ubuntu-latest
python: '2.7' architecture: 'x86'
- os: macOs-latest - os: macOs-latest
architecture: 'x86' architecture: 'x86'
@ -39,6 +38,7 @@ jobs:
uses: actions/setup-python@v1 uses: actions/setup-python@v1
with: with:
python-version: ${{ matrix.python }} python-version: ${{ matrix.python }}
architecture: ${{ matrix.architecture }}
- name: Setup java - name: Setup java
uses: actions/setup-java@v1 uses: actions/setup-java@v1