Skip to content

Commit 9b751fb

Browse files
committed
Minor CI tweeks
1 parent 354b5fa commit 9b751fb

File tree

2 files changed

+9
-17
lines changed

2 files changed

+9
-17
lines changed

.github/workflows/ci.yml

+9-10
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
standardJS:
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v1
23+
- uses: actions/checkout@v2
2424
- name: Set up Node
2525
uses: actions/setup-node@v1
2626
- name: Install Standard
@@ -48,20 +48,19 @@ jobs:
4848

4949
- name: Install Chrome
5050
run: |
51-
sudo apt-get update
52-
sudo apt-get install -y google-chrome-stable
51+
sudo apt update
52+
sudo apt install -y google-chrome-stable
5353
- name: Install Selenium
5454
run: |
5555
mkdir bin
56-
curl -O "https://chromedriver.storage.googleapis.com/$(curl https://chromedriver.storage.googleapis.com/LATEST_RELEASE)/chromedriver_linux64.zip"
56+
curl -qO "https://chromedriver.storage.googleapis.com/$(curl -q https://chromedriver.storage.googleapis.com/LATEST_RELEASE)/chromedriver_linux64.zip"
5757
unzip chromedriver_linux64.zip -d bin
58-
- name: Install dependencies
59-
run: |
60-
python -m pip install --upgrade pip setuptools wheel codecov
61-
pip install -e .[test]
62-
pip install django==${{ matrix.django-version }}
58+
- name: Upgrade Python setuptools
59+
run: python -m pip install --upgrade pip setuptools wheel codecov
60+
- name: Install Django version ${{ matrix.django-version }}
61+
run: pip install django==${{ matrix.django-version }}
6362
- name: Run tests
64-
run: PATH=$PATH:$(pwd)/bin py.test
63+
run: PATH=$PATH:$(pwd)/bin python setup.py test
6564
- run: codecov
6665
env:
6766
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}

setup.cfg

-7
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,6 @@ tests_require =
4040
pytest-django
4141
selenium
4242

43-
[options.extras_require]
44-
test =
45-
pytest
46-
pytest-cov
47-
pytest-django
48-
selenium
49-
5043
[options.package_data]
5144
* = *.txt, *.rst, *.html, *.po
5245

0 commit comments

Comments
 (0)