Skip to content

Commit a9406c8

Browse files
committed
Update CI workflow
1 parent cc987dc commit a9406c8

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ jobs:
3333
strategy:
3434
matrix:
3535
python-version:
36-
- 3.6
37-
- 3.7
38-
- 3.8
39-
- 3.9
36+
- "3.6"
37+
- "3.7"
38+
- "3.8"
39+
- "3.9"
4040
django-version:
41-
- 2.2.*
42-
- 3.1.*
41+
- "2.2"
42+
- "3.1"
4343
steps:
4444
- uses: actions/checkout@v2
4545
- name: Set up Python ${{ matrix.python-version }}
@@ -59,7 +59,7 @@ jobs:
5959
- name: Upgrade Python setuptools
6060
run: python -m pip install --upgrade pip setuptools wheel codecov
6161
- name: Install Django version ${{ matrix.django-version }}
62-
run: pip install django==${{ matrix.django-version }}
62+
run: python -m pip install django~=${{ matrix.django-version }}
6363
- name: Run tests
6464
run: PATH=$PATH:$(pwd)/bin python setup.py test
6565
- run: codecov

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from selenium.common.exceptions import WebDriverException
99

1010

11-
@pytest.yield_fixture(scope="session")
11+
@pytest.fixture(scope="session")
1212
def driver():
1313
chrome_options = webdriver.ChromeOptions()
1414
chrome_options.headless = True

0 commit comments

Comments
 (0)