Skip to content

Commit 9ee6bda

Browse files
committed
Clean up deps in github actions
1 parent 85ce36d commit 9ee6bda

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/pythonapp.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@ jobs:
3535
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
3636
restore-keys: |
3737
${{ runner.os }}-pip-
38+
- name: Install apt deps
39+
run: sudo apt-get install -qq -y libenchant-dev libxml2-dev libxslt1-dev
3840
- name: Install dependencies
3941
run: |
40-
python -m pip install -U pip setuptools cython
41-
sudo apt-get install -qq -y libenchant-dev libxml2-dev libxslt1-dev
42+
pip install -U pip setuptools cython
4243
pip install -Ur travis/requirements.txt
4344
- name: Test with pytest
4445
run: pytest

travis/requirements.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
freezegun==0.3.15
22
pytest==5.4.1
33
pytest-asyncio==0.10.0
4-
responses==0.10.12
54
pytest-cov==2.8.1
65
pytest-random-order==1.0.4
7-
pytest-travis-fold==1.3.0
8-
codecov==2.0.22
6+
responses==0.10.12
97
-r ../requirements.txt

0 commit comments

Comments
 (0)