File tree Expand file tree Collapse file tree 2 files changed +9
-17
lines changed Expand file tree Collapse file tree 2 files changed +9
-17
lines changed Original file line number Diff line number Diff line change 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}}
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments