mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-17 10:13:56 -05:00
Explicitly set ubuntu-20.04 as OS and install dev dependencies
This commit is contained in:
parent
a21fb36cd2
commit
2e641b0e30
8
.github/workflows/docker-publish.yml
vendored
8
.github/workflows/docker-publish.yml
vendored
@ -9,8 +9,8 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-20.04]
|
||||||
python-version: [3.7, 3.8, 3.9]
|
python-version: 3.7
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
@ -23,10 +23,10 @@ jobs:
|
|||||||
sudo apt-get install -qq libpoppler-cpp-dev unpaper tesseract-ocr
|
sudo apt-get install -qq libpoppler-cpp-dev unpaper tesseract-ocr
|
||||||
- name: Upgrade pip
|
- name: Upgrade pip
|
||||||
run: |
|
run: |
|
||||||
pip install --upgrade pip pipenv wheel sphinx pytest pytest-cov coveralls
|
pip install --upgrade pip pipenv
|
||||||
- name: Gather pip requirements
|
- name: Gather pip requirements
|
||||||
run: |
|
run: |
|
||||||
pipenv lock -r > requirements.txt
|
pipenv lock --dev -r > requirements.txt
|
||||||
- name: Install pip requirements
|
- name: Install pip requirements
|
||||||
run: |
|
run: |
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user