Skip to content
Closed

oidc #620

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
176 commits
Select commit Hold shift + click to select a range
d27760e
Fix NPM release version
codingjoe May 24, 2020
35354d0
Fix NPM release command
codingjoe May 24, 2020
b9d02bc
Fix code block syntax, thx @hartwork
codingjoe May 28, 2020
5356c7c
Clarify the key-value pair for the dependent_fields docs.
YPCrumble Sep 8, 2020
f5a9d48
Fix black code style
codingjoe Dec 15, 2020
4e7bbad
Fix docs build
codingjoe Dec 15, 2020
98c9c45
Fix bandit config
codingjoe Dec 15, 2020
6ad4447
Add Python 3.9 support
codingjoe Dec 15, 2020
15629f4
Remove official Python 3.6 support
codingjoe Dec 15, 2020
0e1b8c4
Add official Django 3.1 support
codingjoe Dec 15, 2020
9cb9848
Remove official Django 3.0 support
codingjoe Dec 15, 2020
709ec19
Remove colon in example for use with ArrayField
jieter Oct 26, 2020
07054b2
Split search terms only for __contains queries
dbramwell Jan 5, 2021
e735be2
Fix #29 -- Do not filter based on empty search term
codingjoe Jan 16, 2021
bc6282f
Add dependabot config
codingjoe Mar 6, 2021
44b2273
Switch to latest chromedriver version
codingjoe Mar 6, 2021
fcea539
Resolve pytest deprecation warning
codingjoe Mar 6, 2021
c093aab
Bump actions/setup-node from v1 to v2.1.5
dependabot[bot] Mar 6, 2021
05556e1
Resolve #39 -- Make default search more like Django admin
codingjoe Mar 6, 2021
dc91f03
Add support for dependent m2m fields
codingjoe Mar 29, 2021
b1b229f
Add css support for Django admin
codingjoe Mar 29, 2021
13d6a40
Added *.egg-info in .gitignore
CleitonDeLima Mar 31, 2021
62d85d5
Fix #52 -- Get all dependent field values
codingjoe Apr 13, 2021
3448ce7
Fix distinct results
codingjoe Apr 13, 2021
038026c
Add Django 3.2 to CI suite
codingjoe Apr 13, 2021
fcd825d
Clarify that cache is not strictly necessary (#16)
abeforgit Apr 19, 2021
c049b30
Bump actions/checkout from 2 to 2.3.4
dependabot[bot] May 12, 2021
c1900dd
Bump actions/setup-python from 2 to 2.2.2
dependabot[bot] May 12, 2021
4ff262f
Bump actions/setup-node from 2.1.5 to 2.2.0
dependabot[bot] Jul 1, 2021
4d51978
Bump actions/setup-node from 2.2.0 to 2.3.0
dependabot[bot] Jul 21, 2021
09dbceb
Bump actions/setup-node from 2.3.0 to 2.3.1
dependabot[bot] Aug 4, 2021
d6e1ab3
Bump actions/setup-node from 2.3.1 to 2.3.2
dependabot[bot] Aug 5, 2021
bfc9313
Bump actions/setup-node from 2.3.2 to 2.4.0
dependabot[bot] Aug 6, 2021
1125ced
Added lang attribute to widgets
CleitonDeLima Sep 21, 2021
820f2cb
Added LANGUAGE_CODE for tests
CleitonDeLima Sep 21, 2021
742d929
Bump actions/setup-node from 2.4.0 to 2.4.1
dependabot[bot] Sep 28, 2021
f94e176
Resolve #92 -- Add tests to sdist package
codingjoe Oct 2, 2021
581e2d1
Remove other unneeded files
codingjoe Oct 2, 2021
36f9ac0
Add Django 4.0 compatibility
codingjoe Oct 2, 2021
e15ced9
Update version makers and Ci suite
codingjoe Oct 2, 2021
1063fba
Bump actions/checkout from 2.3.4 to 2.3.5
dependabot[bot] Oct 18, 2021
5a835f3
Resolve #91 -- Add comment about cache expiration
codingjoe Oct 18, 2021
6bd7fb5
Bump actions/checkout from 2.3.5 to 2.4.0
dependabot[bot] Nov 3, 2021
5f0d76d
Don't set default_app_config in Django 3.2 up
gregjkal Oct 28, 2021
3ef5fd1
Added SELECT2_THEME settings
CleitonDeLima Nov 3, 2021
8d74d47
Bump actions/setup-python from 2.2.2 to 2.3.0
dependabot[bot] Nov 18, 2021
e88bfc2
Bump actions/setup-node from 2.4.1 to 2.5.0
dependabot[bot] Nov 30, 2021
153dda6
Bump actions/setup-python from 2.3.0 to 2.3.1
dependabot[bot] Nov 30, 2021
b858953
Bump actions/setup-node from 2.5.0 to 2.5.1
dependabot[bot] Dec 29, 2021
6e7e458
Add Select2 mixin that uses Django's own select template
codingjoe Feb 3, 2022
b62ed59
Bump actions/setup-python from 2.3.1 to 2.3.2
dependabot[bot] Feb 7, 2022
22dafda
Bump actions/setup-node from 2.5.1 to 3.0.0
dependabot[bot] Feb 25, 2022
b5ee6bc
Bump actions/setup-python from 2.3.2 to 3
dependabot[bot] Mar 1, 2022
f099b26
Bump actions/checkout from 2.4.0 to 3
dependabot[bot] Mar 2, 2022
e67069d
Bump actions/setup-node from 3.0.0 to 3.1.0
dependabot[bot] Apr 4, 2022
b292322
Fix #133 -- Remove double dependency entry
codingjoe Apr 8, 2022
e6be444
Bump actions/setup-node from 3.1.0 to 3.1.1
dependabot[bot] Apr 12, 2022
0449db9
Bump actions/setup-node from 3.1.1 to 3.2.0
dependabot[bot] May 17, 2022
d7b079e
Bump actions/setup-node from 3.2.0 to 3.3.0
dependabot[bot] Jun 7, 2022
01550b9
Fix #141 -- Create .readthedocs.yaml
codingjoe Jun 8, 2022
ba0de98
Bump actions/setup-node from 3.3.0 to 3.4.0
dependabot[bot] Jul 12, 2022
be35209
Bump actions/setup-node from 3.4.0 to 3.4.1
dependabot[bot] Jul 15, 2022
731e176
Bump actions/setup-python from 3 to 4.1.0
dependabot[bot] Jul 19, 2022
ab11cea
Set explicit python version
codingjoe Aug 1, 2022
08822ca
Support Django 4.1
adamchainz Sep 9, 2022
a5aafd7
Python 3.10, fix for removals in selenium
adamchainz Sep 9, 2022
4a6122d
Remove Python 3.7 support
codingjoe Sep 9, 2022
bd9d1a5
Remove Django 2.2 support
codingjoe Sep 9, 2022
245450d
Fix Django version install in CI
codingjoe Sep 9, 2022
371c223
Update CI suite
codingjoe Sep 9, 2022
a96ad8e
Simplify GH action version setup
codingjoe Sep 9, 2022
f5ebb24
Bump codecov/codecov-action from 2 to 3
dependabot[bot] Sep 12, 2022
1f6ac37
Add tidelift security information
codingjoe Oct 14, 2022
a2fa381
Add tidelift funding link
codingjoe Oct 22, 2022
7215346
Add clarification about widget types
WoosterInitiative Aug 5, 2022
5a635fe
Resolve #159 -- Add custom JSONEncoder support via setting (#160)
N1K1TAS95 Oct 30, 2022
d410f22
Fix #79 -- Clear values of related fields (#137)
quevon24 Nov 3, 2022
b568368
Add header image
codingjoe Nov 3, 2022
e62b8ea
Add selenium test marker to stablize CI suite
codingjoe Nov 5, 2022
cc834af
Repleace fussyfox with GH actions
codingjoe Nov 5, 2022
5894b52
Reformat code using black & isort
codingjoe Nov 5, 2022
10d5e8d
Fix #163 -- Lazily get i18n locale name
codingjoe Nov 5, 2022
15790a3
Update packaging to pyproject.toml
codingjoe Nov 5, 2022
3781b67
Fix Select2AdminMixin
codingjoe Nov 5, 2022
112846c
Change default Select2 version to Django's vendored version
codingjoe Nov 5, 2022
ec88c6b
Correct the copyright in the licence
vanschelven Nov 9, 2022
4770f06
Fix typo on first line of docs
vanschelven Nov 9, 2022
f4eb656
Fix of documentation for ModelSelect2TagWidget
pawnhearts Nov 22, 2022
7cf9586
Bump flake8 from 5.0.4 to 6.0.0
dependabot[bot] Nov 24, 2022
f9a1760
Bump black from 22.10.0 to 22.12.0
dependabot[bot] Dec 12, 2022
8c2982e
Bump isort from 5.10.1 to 5.11.1
dependabot[bot] Dec 13, 2022
ba22aaf
Bump isort from 5.11.1 to 5.11.2
dependabot[bot] Dec 14, 2022
7bebbb2
Bump isort from 5.11.2 to 5.11.4
dependabot[bot] Dec 22, 2022
2bdaed5
Bump pydocstyle[toml] from 6.1.1 to 6.2.2
dependabot[bot] Jan 4, 2023
0edddd5
Bump pydocstyle[toml] from 6.2.2 to 6.2.3
dependabot[bot] Jan 9, 2023
a2c4bd2
Bump pydocstyle[toml] from 6.2.3 to 6.3.0
dependabot[bot] Jan 18, 2023
37e9f7f
Bump isort from 5.11.4 to 5.12.0
dependabot[bot] Jan 30, 2023
3e1527f
Bump black from 22.12.0 to 23.1.0 (#202)
dependabot[bot] Feb 6, 2023
38ce1d6
Add list support for static asset settings (#189)
pickfire Feb 8, 2023
0681174
Support data_view and data_url class attributes on HeavySelect (#182)
CleitonDeLima Feb 8, 2023
81c9b25
Fix #188 -- Add graphviz to RTD config
codingjoe Feb 8, 2023
f29cb40
Bump bandit from 1.7.4 to 1.7.5
dependabot[bot] Mar 10, 2023
d307c31
Fix override_settings issue
ewjoachim Feb 6, 2023
1fb55d6
Update django_select2/apps.py
ewjoachim Feb 11, 2023
f9a439d
Fix extraneous dot
ewjoachim Feb 11, 2023
ebf5f76
Bump black from 23.1.0 to 23.3.0
dependabot[bot] Mar 29, 2023
0dc2e77
Fix #128, add documentation on how to confifure select2 options
neuged May 5, 2023
c309742
Fix #214 -- Update contributing guilde
codingjoe May 5, 2023
f0e9555
Update Python & Django version support (#218)
codingjoe May 23, 2023
ed1af30
[Django 4.1+] Make i18n works for LANGUAGE_CODE with a country code (…
rsebille May 23, 2023
a4bc327
Bump black from 23.3.0 to 23.7.0
dependabot[bot] Jul 11, 2023
5753384
Bump flake8 from 6.0.0 to 6.1.0
dependabot[bot] Jul 31, 2023
681fac9
Note case in which cache is not needed (#233)
vanschelven Sep 4, 2023
cb1142b
Bump actions/checkout from 3 to 4
dependabot[bot] Sep 5, 2023
9b7eea4
Bump black from 23.7.0 to 23.9.1
dependabot[bot] Sep 11, 2023
d0704c4
Bump codecov/codecov-action from 3 to 4
dependabot[bot] Sep 15, 2023
2cd6094
Bump black from 23.9.1 to 23.10.0
dependabot[bot] Oct 18, 2023
85fba6b
Bump black from 23.10.0 to 23.10.1
dependabot[bot] Oct 24, 2023
2ec7389
Bump actions/setup-node from 3 to 4
dependabot[bot] Oct 24, 2023
69eef25
Revert "Bump codecov/codecov-action from 3 to 4"
codingjoe Oct 27, 2023
05ec6c5
Bump black from 23.10.1 to 23.11.0
dependabot[bot] Nov 9, 2023
29f2908
Update issue tempaltes
codingjoe Nov 24, 2023
3532dce
Add a issues config file
codingjoe Nov 24, 2023
69dd892
Drop secuirty link in favor of CVE
codingjoe Nov 24, 2023
c458e3e
Bump bandit from 1.7.5 to 1.7.6
dependabot[bot] Dec 11, 2023
47ecddc
Bump isort from 5.12.0 to 5.13.0
dependabot[bot] Dec 11, 2023
a88987d
Bump actions/setup-python from 4 to 5
dependabot[bot] Dec 7, 2023
9e2a14e
Bump isort from 5.13.0 to 5.13.1
dependabot[bot] Dec 12, 2023
94b9cc3
Bump black from 23.11.0 to 23.12.0
dependabot[bot] Dec 13, 2023
3892750
Bump isort from 5.13.1 to 5.13.2
dependabot[bot] Dec 14, 2023
d1a3d51
Bump black from 23.12.0 to 23.12.1
dependabot[bot] Dec 25, 2023
dc12b38
Bump flake8 from 6.1.0 to 7.0.0
dependabot[bot] Jan 5, 2024
f61b09c
Bump bandit from 1.7.6 to 1.7.7
dependabot[bot] Jan 24, 2024
ec24645
Bump black from 23.12.1 to 24.1.0
dependabot[bot] Jan 26, 2024
15e2d85
Bump codecov/codecov-action from 3 to 4
dependabot[bot] Feb 1, 2024
21f30ea
Bump black from 24.1.0 to 24.1.1 (#264)
dependabot[bot] Feb 11, 2024
d044bd8
Bump black from 24.1.1 to 24.2.0
dependabot[bot] Feb 13, 2024
5e1ba19
Bump bandit from 1.7.7 to 1.7.8
dependabot[bot] Mar 11, 2024
7333018
Bump black from 24.2.0 to 24.3.0
dependabot[bot] Mar 18, 2024
5c70aff
Bump black from 24.3.0 to 24.4.0
dependabot[bot] Apr 15, 2024
97dd175
Bump black from 24.4.0 to 24.4.1
dependabot[bot] Apr 25, 2024
f427b31
Bump black from 24.4.1 to 24.4.2
dependabot[bot] Apr 26, 2024
2a2cefd
Bump flake8 from 7.0.0 to 7.1.0
dependabot[bot] Jun 17, 2024
06a437d
Bump bandit from 1.7.8 to 1.7.9
dependabot[bot] Jun 17, 2024
07ea4b8
Add ModelSelect2Mixin.result_from_instance method (#272)
sdolemelipone Jun 29, 2024
abcd0f7
Improve the documentation of Select2TagWidget (#291)
mardukbp Aug 4, 2024
6f5561d
Bump flake8 from 7.1.0 to 7.1.1
dependabot[bot] Aug 5, 2024
d87a5ad
Bump black from 24.4.2 to 24.8.0
dependabot[bot] Aug 5, 2024
50c488c
Fix #292 -- Change admin widgets' JS media ordering (#295)
mardukbp Aug 9, 2024
458ff01
Bump bandit from 1.7.9 to 1.7.10
dependabot[bot] Sep 24, 2024
59798d2
Bump black from 24.8.0 to 24.10.0
dependabot[bot] Oct 8, 2024
de441b6
Bump codecov/codecov-action from 4 to 5
dependabot[bot] Nov 15, 2024
12e2d60
Bump bandit from 1.7.10 to 1.8.0
dependabot[bot] Nov 27, 2024
352811b
Fix #297 -- Add Django admin' inline formset support (#300)
mardukbp Dec 10, 2024
94c70dc
Upgrade to Baseline2024 compliant JS code (#307)
codingjoe Dec 10, 2024
5cbd569
Bump bandit from 1.8.0 to 1.8.2 (#310)
dependabot[bot] Jan 13, 2025
7fef9f7
Bump isort from 5.13.2 to 6.0.0 (#311)
dependabot[bot] Jan 28, 2025
d8f5b33
Bump black from 24.10.0 to 25.1.0
dependabot[bot] Jan 29, 2025
9e3d9b6
Drop official support for EOL Python and Django versions (#313)
mikemanger Feb 9, 2025
1353d8e
Bump flake8 from 7.1.1 to 7.1.2 (#314)
dependabot[bot] Feb 17, 2025
10061a3
Bump bandit from 1.8.2 to 1.8.3 (#315)
dependabot[bot] Feb 17, 2025
6e6fdd9
Bump isort from 6.0.0 to 6.0.1
dependabot[bot] Feb 27, 2025
f781527
Fix #136 -- Support dependent fields in formsets (#316)
mardukbp Mar 15, 2025
e92e090
Bump flake8 from 7.1.2 to 7.2.0 (#322)
dependabot[bot] Apr 3, 2025
e5f41e6
Merge commit from fork
codingjoe May 26, 2025
ae98b9a
Bump bandit from 1.8.3 to 1.8.5
dependabot[bot] Jun 17, 2025
6c98630
Bump flake8 from 7.2.0 to 7.3.0
dependabot[bot] Jun 23, 2025
e5aa01f
Bump bandit from 1.8.5 to 1.8.6
dependabot[bot] Jul 7, 2025
009e99f
Bump actions/checkout from 4 to 5
dependabot[bot] Aug 12, 2025
ae15705
Bump actions/setup-python from 5 to 6
dependabot[bot] Sep 4, 2025
77f06fa
Bump actions/setup-node from 4 to 5
dependabot[bot] Sep 5, 2025
9ae62fd
Bump black from 25.1.0 to 25.9.0
dependabot[bot] Sep 19, 2025
e906c98
Bump isort from 6.0.1 to 6.1.0
dependabot[bot] Oct 2, 2025
9b98cba
Bump isort from 6.1.0 to 7.0.0
dependabot[bot] Oct 13, 2025
834d4d9
Bump actions/setup-node from 5 to 6
dependabot[bot] Oct 14, 2025
c835da4
Use OpenID Connect to publish releases on PyPi & NPMJS
codingjoe Oct 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bandit
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[bandit]
exclude: tests
exclude: ./tests
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ insert_final_newline = true
charset = utf-8
end_of_line = lf

[*.{json,yml,yaml,js,jsx}]
[*.{json,yml,yaml,js,jsx,toml}]
indent_size = 2

[LICENSE]
Expand Down
4 changes: 0 additions & 4 deletions .fussyfox.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
github: codingjoe
tidelift: pypi/django-select2
custom: https://paypal.me/codingjoe
52 changes: 52 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: 🐛 Bug
description: Report a technical issue.
title: '🐛 '
labels:
- bug
assignees:
- codingjoe
body:

- type: markdown
attributes:
value: |
Thank you for taking the time to report a bug.
Please fill in as much of the template below as you're able.

- type: markdown
attributes:
value: |
## Security issues
Please do not report security issues here.
Instead, disclose them as described in our [security policy](https://github.com/codingjoe/django-select2/security).

- type: textarea
id: bug-description
attributes:
label: Bug Description
description: A clear and concise description of what the bug is.
placeholder: I found a bug
validations:
required: true

- type: textarea
id: bug-steps
attributes:
label: Steps to Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: true

- type: textarea
id: bug-expected
attributes:
label: Expected Behavior
description: A clear and concise description of what you expected to happen.
placeholder: I expected the app to do X
validations:
required: true
30 changes: 0 additions & 30 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: ✨ Feature Requests
url: https://github.com/codingjoe/django-select2/discussions/categories/ideas
about: Please use the GitHub Discussions to request new features.
- name: 🙋 Questions & Help
url: https://github.com/codingjoe/django-select2/discussions/categories/q-a
about: Please use the GitHub Discussions to ask questions.
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

13 changes: 0 additions & 13 deletions .github/ISSUE_TEMPLATE/problem-with-django-admin.md

This file was deleted.

17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/question.md

This file was deleted.

14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: daily
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
105 changes: 67 additions & 38 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,81 +2,110 @@ name: CI
on:
push:
branches:
- master
- main
pull_request:

jobs:

black:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
lint-command:
- bandit -r . -x ./tests
- black --check --diff .
- flake8 .
- isort --check-only --diff .
- pydocstyle .
steps:
- uses: actions/setup-python@v2
- uses: actions/checkout@v2
- run: python -m pip install black
- run: black --check --diff .
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.x"
cache: 'pip'
cache-dependency-path: 'linter-requirements.txt'
- run: python -m pip install -r linter-requirements.txt
- run: ${{ matrix.lint-command }}

dist:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v2
- run: python -m pip install --upgrade pip setuptools wheel twine readme-renderer
- uses: actions/checkout@v2
- run: python setup.py sdist bdist_wheel
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.x"
- run: python -m pip install --upgrade pip build wheel twine readme-renderer
- run: python -m build --sdist --wheel
- run: python -m twine check dist/*

standardjs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v5
- uses: actions/setup-node@v6
with:
node-version: '12.x'
node-version-file: '.nvmrc'
- run: npm install -g standard
- run: standard

docs:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v2
- uses: actions/checkout@v2
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.10"
- run: sudo apt-get install -y gettext graphviz
- run: python setup.py develop
- run: python setup.py build_sphinx -W -b doctest -b html
- run: python -m pip install -e .[docs]
- run: python -m sphinx -W -b doctest -b html docs docs/_build

pytest:
PyTest:
needs:
- lint
- standardjs
- black
strategy:
matrix:
python-version:
- "3.6"
- "3.7"
- "3.8"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
django-version:
- "2.2"
- "3.0"
- "4.2"
- "5.1"
runs-on: ubuntu-latest
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install Django~="${{ matrix.django-version }}.0"
- run: python -m pip install -e .[test]
- run: python -m pytest -m "not selenium"
- uses: codecov/codecov-action@v5

Selenium:
needs:
- lint
- standardjs
strategy:
matrix:
python-version:
- "3.x"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Install Chrome
run: sudo apt-get install -y google-chrome-stable
- name: Install Selenium
run: |
mkdir bin
curl -O https://chromedriver.storage.googleapis.com/77.0.3865.40/chromedriver_linux64.zip
curl -O https://chromedriver.storage.googleapis.com/`curl -s https://chromedriver.storage.googleapis.com/LATEST_RELEASE`/chromedriver_linux64.zip
unzip chromedriver_linux64.zip -d bin
- uses: actions/checkout@v1
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel codecov
pip install -e .[test]
pip install django~=${{ matrix.django-version }}
- name: Run tests
run: PATH=$PATH:$(pwd)/bin py.test
- run: codecov
env:
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install Django
- run: python -m pip install -e .[test,selenium]
- run: python -m pytest -m selenium
- uses: codecov/codecov-action@v5
Loading