Skip to content

Commit 8d2c291

Browse files
committed
Adjust github actions
1 parent 171c5ff commit 8d2c291

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@ jobs:
1818
- uses: actions/setup-python@v3
1919
with:
2020
python-version: ${{ matrix.python-version }}
21-
- run: pip install -r requirements.txt
22-
- run: pip install -r test-requirements.txt
23-
- run: python setup.py develop
21+
cache: 'pip'
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install -r requirements.txt
26+
pip install -r test-requirements.txt
2427
- env:
2528
DETECTLANGUAGE_API_KEY: ${{ secrets.DETECTLANGUAGE_API_KEY }}
2629
run: nosetests

0 commit comments

Comments
 (0)