Skip to content

globla: fix issues with py2 #13

globla: fix issues with py2

globla: fix issues with py2 #13

name: test (python 2.7)
on:
push:
branches: [py-2]
pull_request:
branches: [py-2]
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
include:
- python: python2
pip: pip
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
python-version: ${{ matrix.python-version }}
- name: Install npm dependencies
run: |
npm install buffer-shims
npm install --global rollup
- name: Install python dependencies
run: |
wget https://bootstrap.pypa.io/pip/2.7/get-pip.py
${{ matrix.python }} get-pip.py
${{ matrix.python }} -m ${{ matrix.pip }} install --user --upgrade pip
${{ matrix.python }} -m ${{ matrix.pip }} --no-cache-dir install --user -e .[tests,docs]
- name: Show python dependencies
run: |
${{matrix.pip}} --version
${{ matrix.python }} --version
${{ matrix.pip }} freeze
- name: Run tests
run: |
./run-tests.sh