44 docs :
55 runs-on : ubuntu-latest
66 steps :
7- - uses : actions/setup-python@v1.1.1
8- - uses : actions/checkout@v2.0.0
7+ - uses : actions/setup-python@v2
8+ - uses : actions/checkout@v2
99 - run : python -m pip install -r requirements.txt
1010 - run : python setup.py develop
1111 - run : python setup.py build_sphinx -W
@@ -18,16 +18,37 @@ jobs:
1818 python-version : [3.6, 3.7, 3.8]
1919 steps :
2020 - name : Set up Python ${{ matrix.python-version }}
21- uses : actions/setup-python@v1.1.1
21+ uses : actions/setup-python@v2
2222 with :
2323 python-version : ${{ matrix.python-version }}
24- - uses : actions/checkout@v2.0.0
24+ - uses : actions/checkout@v2
2525 - run : python setup.py test
2626 - name : Codecov
2727 run : |
2828 python -m pip install codecov
2929 codecov -t ${{secrets.CODECOV_TOKEN}}
3030
31+ extras :
32+ needs : [docs]
33+ runs-on : ubuntu-latest
34+ strategy :
35+ matrix :
36+ extras :
37+ - wagtail
38+ python-version : [3.8]
39+ steps :
40+ - name : Set up Python ${{ matrix.python-version }}
41+ uses : actions/setup-python@v2
42+ with :
43+ python-version : ${{ matrix.python-version }}
44+ - uses : actions/checkout@v2
45+ - run : python -m pip install -e ".[${{ matrix.extras }}]"
46+ - run : python setup.py test
47+ - name : Codecov
48+ run : |
49+ python -m pip install codecov
50+ codecov -t ${{ secrets.CODECOV_TOKEN }}
51+
3152
3253 PostgreSQL :
3354 needs : [docs]
@@ -50,10 +71,10 @@ jobs:
5071 options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
5172 steps :
5273 - name : Set up Python ${{ matrix.python-version }}
53- uses : actions/setup-python@v1.1.1
74+ uses : actions/setup-python@v2
5475 with :
5576 python-version : ${{ matrix.python-version }}
56- - uses : actions/checkout@v2.0.0
77+ - uses : actions/checkout@v2
5778 - run : python -m pip install psycopg2-binary Django==${{ matrix.django-version }}
5879 - run : python setup.py test
5980 env :
0 commit comments