File tree Expand file tree Collapse file tree 1 file changed +26
-10
lines changed Expand file tree Collapse file tree 1 file changed +26
-10
lines changed Original file line number Diff line number Diff line change 1- name : Tests
1+ name : CI
22
3- on : [push]
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
48
59jobs :
6- build :
710
11+ dist :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/setup-python@v2
15+ - run : python -m pip install --upgrade pip setuptools wheel twine readme-renderer
16+ - uses : actions/checkout@v2
17+ - run : python setup.py sdist bdist_wheel
18+ - run : python -m twine check dist/*
19+
20+ pytest :
821 runs-on : ubuntu-latest
922 strategy :
10- max-parallel : 4
1123 matrix :
12- python-version : [3.6, 3.7]
13- django-version : [1.11.*, 2.2.*]
14-
24+ python-version :
25+ - 3.6
26+ - 3.7
27+ - 3.8
28+ django-version :
29+ - 2.2.*
30+ - 3.1.*
1531 steps :
16- - uses : actions/checkout@v1
32+ - uses : actions/checkout@v2
1733 - name : Set up Python ${{ matrix.python-version }}
18- uses : actions/setup-python@v1
34+ uses : actions/setup-python@v2
1935 with :
2036 python-version : ${{ matrix.python-version }}
2137
2642 - name : Install Selenium
2743 run : |
2844 mkdir bin
29- curl -O https://chromedriver.storage.googleapis.com/77.0.3865.40/ chromedriver_linux64.zip
45+ curl -O " https://chromedriver.storage.googleapis.com/$(curl https://chromedriver.storage.googleapis.com/LATEST_RELEASE)/ chromedriver_linux64.zip"
3046 unzip chromedriver_linux64.zip -d bin
3147 - name : Install dependencies
3248 run : |
You can’t perform that action at this time.
0 commit comments