Skip to content

Commit

Permalink
CI: Uplift Python to 3.x
Browse files Browse the repository at this point in the history
+ Drop support for python 2, switch to python 3.

Signed-off-by: Duc Nguyen <duc.a.nguyen@ericsson.com>
  • Loading branch information
DucNgn authored and paul-marechal committed Feb 23, 2021
1 parent 31b0838 commit c5f3253
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,13 @@ on:
jobs:

build:
name: ${{ matrix.os }}, Node.js v${{ matrix.node }}, Python ${{ matrix.python }}
name: ${{ matrix.os }}, Node.js v${{ matrix.node }}

strategy:
fail-fast: false
matrix:
os: [windows-2019, ubuntu-18.04, macos-10.15]
node: ['12.x']
python: ['2.x']
include:
- os: ubuntu-18.04
node: '12.x'
python: '3.x'
tests: 'skip'

runs-on: ${{ matrix.os }}
timeout-minutes: 60
Expand All @@ -43,10 +37,10 @@ jobs:
node-version: ${{ matrix.node }}
registry-url: 'https://registry.npmjs.org'

- name: Use Python ${{ matrix.python }}
- name: Use Python 3.x
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
python-version: '3.x'

- name: Build
shell: bash
Expand Down Expand Up @@ -98,10 +92,10 @@ jobs:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'

- name: Use Python 2.x
- name: Use Python 3.x
uses: actions/setup-python@v2
with:
python-version: '2.x'
python-version: '3.x'

- name: Pre-Publish
run: |
Expand Down

0 comments on commit c5f3253

Please sign in to comment.