File tree 2 files changed +9
-17
lines changed
2 files changed +9
-17
lines changed Original file line number Diff line number Diff line change 20
20
standardJS :
21
21
runs-on : ubuntu-latest
22
22
steps :
23
- - uses : actions/checkout@v1
23
+ - uses : actions/checkout@v2
24
24
- name : Set up Node
25
25
uses : actions/setup-node@v1
26
26
- name : Install Standard
@@ -48,20 +48,19 @@ jobs:
48
48
49
49
- name : Install Chrome
50
50
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
53
53
- name : Install Selenium
54
54
run : |
55
55
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"
57
57
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 }}
63
62
- name : Run tests
64
- run : PATH=$PATH:$(pwd)/bin py. test
63
+ run : PATH=$PATH:$(pwd)/bin python setup.py test
65
64
- run : codecov
66
65
env :
67
66
CODECOV_TOKEN : ${{secrets.CODECOV_TOKEN}}
Original file line number Diff line number Diff line change @@ -40,13 +40,6 @@ tests_require =
40
40
pytest-django
41
41
selenium
42
42
43
- [options.extras_require]
44
- test =
45
- pytest
46
- pytest-cov
47
- pytest-django
48
- selenium
49
-
50
43
[options.package_data]
51
44
* = *.txt, *.rst, *.html, *.po
52
45
You can’t perform that action at this time.
0 commit comments