Only build for 3.6

This commit is contained in:
Mark Schmitt 2021-01-04 15:28:47 +01:00
parent b41dd2780e
commit 336b908e8f

View File

@ -10,7 +10,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ubuntu-20.04] os: [ubuntu-20.04]
python-version: [3.6, 3.7, 3.8] python-version: [3.6]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
@ -19,11 +19,8 @@ jobs:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Tests - name: Tests
run: | run: |
env
sudo apt-get update -qq sudo apt-get update -qq
sudo apt-get install -qq libpoppler-cpp-dev unpaper tesseract-ocr imagemagick ghostscript optipng sudo apt-get install -qq libpoppler-cpp-dev unpaper tesseract-ocr imagemagick ghostscript optipng
echo "Replacing python version with ${matrix.python-version}"
sed -i "s/python_version = \"3.6\"/python_version = \"${matrix.python-version}\"/" Pipfile
pip install --upgrade pipenv pip install --upgrade pipenv
pipenv install --system --dev pipenv install --system --dev
cd src/ cd src/