Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
736 commits
Select commit Hold shift + click to select a range
66a24ae
Offer development dependencies as an extras_require
francoisfreitag Mar 3, 2020
7620bd0
[DO NOT REVIEW] Add Python 2.x support removal to changelog
francoisfreitag Mar 10, 2020
265becd
Drop deprecated force_flush option from SQLAlchemyModelFactory
francoisfreitag Mar 10, 2020
ad5b71d
Combine the two unreleased sections in changelog.rst
jdufresne Mar 11, 2020
d7f4870
Remove deprecated attributes() and declarations() on BaseFactory
francoisfreitag Mar 10, 2020
49870b7
Remove deprecated aliases from factory.fuzzy
francoisfreitag Mar 10, 2020
c58d082
Bump version to 3.0.0.dev0
francoisfreitag Mar 11, 2020
a8da29e
Remove backwards compatibility shims in factory/__init__.py
jdufresne Mar 11, 2020
91131eb
Quick, before anyone notices!
jarekwg Apr 23, 2020
53926ac
Fix grammatical error in docs
paulonteri Apr 25, 2020
9716003
Move Related{,List}Factory tests to their own test case
francoisfreitag May 24, 2020
60b7cbb
Fix readthedocs build
francoisfreitag Jun 18, 2020
28a06d1
Fix formatting issue in get_random_state() doc
francoisfreitag Jun 22, 2020
f319276
Fix “removed” section formatting in changelog for 3.0
francoisfreitag Jun 22, 2020
8bddf17
Remove requirements*.txt from MANIFEST.in
francoisfreitag Jun 23, 2020
6d38278
Move flake8 configuration to setup.cfg
francoisfreitag Jun 23, 2020
b8e4270
Add missing entries to the changelog
francoisfreitag Jun 22, 2020
c169404
Clarify RelatedFactory.factory_related_name documentation
francoisfreitag Jan 18, 2020
28b4912
Prefer kwarg for RelatedFactory.factory_related_name
francoisfreitag Jan 22, 2020
9606377
Cosmetic edits to recipes for SQLAlchemy Many-to-Many
francoisfreitag Jun 22, 2020
4bb5017
Simplify RelatedFactoryList documented example
francoisfreitag Jun 16, 2020
59ee658
Add SQLAlchemy get_or_create support
Gonzasestopal Oct 31, 2019
0a564cd
Upgrade to isort 5
francoisfreitag Jul 31, 2020
7a2d577
Restore submodule imports in package __init__
francoisfreitag Jul 31, 2020
288b7fd
docs(orm): #483 clarify get_or_create behaviour
mattduck Jun 27, 2020
5b9ad19
Fix incorrectly highlighted code section
francoisfreitag Jun 26, 2020
43f557d
Simplify Django imports
francoisfreitag Jul 17, 2020
85543a5
Make a breaking changes summary in change log
francoisfreitag Jun 26, 2020
a56a852
Better error when feeding SubFactory a non-factory
rbarrois Jun 26, 2020
05d9d44
Include documentation tools in dev installs.
rbarrois Aug 12, 2020
decd1f3
Fix README's RST syntax.
rbarrois Aug 12, 2020
3b0b867
Preparing release 3.0.0
rbarrois Aug 12, 2020
80854c9
Back to development: 3.0.1
rbarrois Aug 12, 2020
efb5019
Hotfix: Fix `factory.django` aliases.
rbarrois Aug 13, 2020
cea134a
Preparing release 3.0.1
rbarrois Aug 13, 2020
901a730
Back to development: 3.0.2
rbarrois Aug 13, 2020
f0a4ef0
Allow nesting declarations in Faker params.
rbarrois Aug 14, 2020
55460a5
Fix small README class inconsistency
Sep 17, 2020
eefd059
Restore wheel building.
rbarrois Oct 2, 2020
688820f
Preparing release 3.1.0
rbarrois Oct 2, 2020
a9c9aa8
Back to development: 3.1.1
rbarrois Oct 2, 2020
2263d46
Drop support for Django 1.11
francoisfreitag Oct 11, 2020
64f10a1
Drop support for Python 3.5
francoisfreitag Oct 11, 2020
c918335
Add Django 3.1 to the test matrix
francoisfreitag Oct 11, 2020
89e7553
Regenerate Sphinx files using latest modern Sphinx version
jdufresne Oct 17, 2020
9b256e4
Apply sphinxcontrib-spelling to the docs for spell checking
jdufresne Oct 17, 2020
b205a19
Fix typo overriden → overridden
francoisfreitag Oct 30, 2020
26d1e42
Upgrade Python 2 super() calls to Python 3
francoisfreitag Oct 30, 2020
1957bd3
Add support for Python 3.9
francoisfreitag Oct 28, 2020
7d6514d
Use django.test.utils to initialize test database
jdufresne Nov 3, 2020
80f66e9
Run tests in Python development mode
francoisfreitag Nov 2, 2020
5f8330f
Define test factories strategy in FactoryOptions
francoisfreitag Nov 2, 2020
941750d
Modify PyPI URLs to avoid redirects
jdufresne Nov 15, 2020
a0967bb
Remove u prefix from strings in docs
jdufresne Nov 14, 2020
73ee5cc
Use f-strings for simple string formatting
jdufresne Oct 31, 2020
8f7faa5
Combine similar environments lines in tox.ini
jdufresne Nov 1, 2020
9d9788e
Deprecate factory.use_strategy()
francoisfreitag Nov 14, 2020
f3dce54
Change PostGenerationMethodCall example
francoisfreitag Jun 15, 2019
f3775af
Remove FakePostGenerationDeclaration
francoisfreitag Nov 14, 2020
bacfd73
Simplify handling of the locale argument to Faker
francoisfreitag Nov 22, 2020
d8b241c
Migrate CI from Travis to GitHub actions
jdufresne Nov 1, 2020
88b81ea
Run tests against the next Django version
francoisfreitag Dec 6, 2020
5bbe27e
Revert "Simplify handling of the locale argument to Faker"
rbarrois Dec 23, 2020
15e11e7
Cleanup ParameteredAttribute
rbarrois Dec 23, 2020
e19142c
Perform context unrolling inside declarations
rbarrois Dec 23, 2020
5692f64
Add a new regression testing module
rbarrois Dec 23, 2020
74918ac
Stop passing unnamed kwargs up in declarations
rbarrois Dec 23, 2020
372f3c2
Handle default extra context for all declarations
rbarrois Dec 23, 2020
824c6e0
Switch away from ParameteredDeclaration
rbarrois Dec 23, 2020
82d6144
Remove ParameteredDeclaration
rbarrois Dec 23, 2020
0eb3b3b
Add `make TAGS` to run ctags
rbarrois Dec 23, 2020
178f816
Update ChangeLog
rbarrois Dec 23, 2020
8a9b148
Show the actual line for DeprecationWarning
rbarrois Dec 28, 2020
2c4e53c
Adjust ChangeLog formatting for zest releaser
rbarrois Dec 28, 2020
e58684d
Preparing release 3.2.0
rbarrois Dec 28, 2020
ec4211a
Back to development: 3.2.1
rbarrois Dec 28, 2020
d4a9f4a
Docs: Fix extra quote
tony Feb 12, 2021
e083ff5
Introduce factory.declaration.Transformer
francoisfreitag Jul 31, 2018
ade3b8a
Set long description content type
francoisfreitag Feb 3, 2021
b59ef2f
Restore linkcheck builds
francoisfreitag Dec 22, 2020
3a827f0
Don’t override signal receivers registered during mute_signals
Oct 20, 2020
b53b2be
Move #799 changelog entry to the unreleased section
francoisfreitag Feb 18, 2021
2901d08
Avoid SQLAlchemyModelFactory name clash with a field named session
s16h Feb 9, 2021
37f9627
Fix typo.
mike-oakley Mar 17, 2021
c21024c
Linkcheck: Retry failed URLs
francoisfreitag Mar 29, 2021
90faf35
Remove dead link to author’s page
francoisfreitag May 3, 2021
17e2b67
README.rst fix: Correct the default build strategy
ben-hampson May 25, 2021
2d088c9
Clarify nuance between build and create strategies
rbarrois May 30, 2021
f3ab3bd
Fix a typo in docs.
vbmendes May 27, 2021
11a86c4
Fix another typo in docs.
vbmendes May 27, 2021
5caf854
docs: update the references to sequence counters to consistently coun…
sarahboyce Jun 20, 2021
6a5ef78
Add import to Django Example
ben-hampson May 25, 2021
de4e127
Add support for Django 3.2
francoisfreitag Apr 24, 2021
764ffab
Drop support for end-of-life Django 3.0
francoisfreitag Jun 25, 2021
0439342
Deprecate doc note about second call to ``save()`` for post generation
francoisfreitag Feb 18, 2021
023ae90
Set USE_TZ=True for the Django test project
francoisfreitag Jul 2, 2021
4c1ec75
Restore Django main build
francoisfreitag Apr 24, 2021
c72f790
docs: Update Many-to-Many Recipe to use bulk_add
MRigal Nov 3, 2020
6d421c7
Rewrite extra post-declarations loop in parse_declarations
francoisfreitag Jul 2, 2021
bb37ef8
testing: properly reset sequences
rbarrois Sep 3, 2021
00bd292
docs: Add packaging tips
rbarrois Sep 3, 2021
371815b
Fix path of moved class
meshy Oct 13, 2021
1d387b4
Don’t override signal receivers registered during mute_signals
Oct 20, 2020
15e3245
Move #799 changelog entry to the unreleased section
francoisfreitag Feb 18, 2021
f2c1e11
Avoid SQLAlchemyModelFactory name clash with a field named session
s16h Feb 9, 2021
00fc267
Add support for Django 3.2
francoisfreitag Apr 24, 2021
8845834
Preparing release 3.2.1
rbarrois Oct 26, 2021
928fd22
Drop support for EOL python 3.6, add support for python 3.10 and djan…
last-partizan Feb 15, 2022
669aa84
Fix documentation build warning about extlinks
francoisfreitag Feb 15, 2022
d2447ab
Specify uuidRepresentation for mongoengine
francoisfreitag May 6, 2022
cd10bb9
Improve doc of "Choosing from a populated table"
bagerard May 11, 2022
31e8a41
Update docs/recipes.rst
bagerard May 13, 2022
ed107a8
Support creating SQLAlchemy sessions from a callable
May 13, 2022
cf29849
Docs: Import factory after mangling sys.path
francoisfreitag May 16, 2022
9281625
docs: Use %s placeholder for extlinks
francoisfreitag May 30, 2022
8130d28
Refactor FileField.
thedrow May 25, 2022
288b35e
Address code review.
thedrow May 29, 2022
7541994
Remove trailing whitespace
francoisfreitag May 30, 2022
0999e78
Factorize out SQLAlchemy transaction management
francoisfreitag May 31, 2022
299634a
Clear SQLAlchemy tables after each test
francoisfreitag Jun 1, 2022
f31773b
Squash history - rebase with remote/master
kingbuzzman Jun 2, 2022
0aab1d4
Not used anymore.
kingbuzzman Jun 2, 2022
57e1c92
Use a TextField for MultifieldModel
francoisfreitag Jun 3, 2022
8b1cbdb
Unify to os.environ.get
francoisfreitag Jun 3, 2022
6d8152c
Missed django.db.backends.postgresql_psycopg2
francoisfreitag Jun 3, 2022
61f13f3
Remove sqlalchemy setUpModule
francoisfreitag Jun 3, 2022
869e1b0
Prepare database for SQLAlchemy tests
francoisfreitag Jun 3, 2022
46a1d29
Rebase remote/master
kingbuzzman Jun 3, 2022
3601e97
Fixes django tests
kingbuzzman Jun 3, 2022
a375a37
There is no need to run no deps with and without postgres, one pass w…
kingbuzzman Jun 3, 2022
529b53f
Update test_using.py
kingbuzzman Jun 7, 2022
0adb82d
cutting back on the amount of tests
kingbuzzman Jun 7, 2022
246e53a
Update README.rst
kingbuzzman Jun 7, 2022
01c528f
Simplify tests
kingbuzzman Jun 9, 2022
ea98197
a little debuging to make sure nothing is being skipped..
kingbuzzman Jun 9, 2022
af40f57
Previous attempt failed -- it was skipping sqlalchemy and mongo
kingbuzzman Jun 9, 2022
ce8bec3
No comments for now..
kingbuzzman Jun 9, 2022
3a5277f
More verbose tests
kingbuzzman Jun 9, 2022
60bcedc
Removes unneeded test setup conf, updates docs
kingbuzzman Jun 9, 2022
a461e2f
Update tox.ini
kingbuzzman Jun 13, 2022
af073ae
Update tests/test_django.py
kingbuzzman Jun 13, 2022
53e26f3
Update README.rst
kingbuzzman Jun 13, 2022
9aef4e5
Drop unused directive TOX_WORKDIR
francoisfreitag Jun 23, 2022
05e7d96
Create PostgreSQL database for SQLAlchemy tests
kingbuzzman Jun 14, 2022
6c243a7
Improve SQLAlchemy tests session cleanup
kingbuzzman Jun 28, 2022
3e8246f
Add PyPy 3.9 to the test matrix
kingbuzzman Jun 28, 2022
59ac7c6
Add sqlalchemy_utils as a development dependency
kingbuzzman Jun 28, 2022
141f5b2
Use unittest test discovery for coverage
francoisfreitag Jun 28, 2022
e69607e
Add Javier to the CREDITS
francoisfreitag Jun 28, 2022
31c36c6
Move coverage metadata to setup.cfg
kingbuzzman Jun 28, 2022
8608b38
Fixes pypy39 tests
kingbuzzman Jun 28, 2022
4e4c67a
Enable coverage context collection
kingbuzzman Jul 1, 2022
91ccfd1
Remove TOXENV variable
kingbuzzman Jul 4, 2022
a961dd1
Cache pip dependencies across lint and test runs
kingbuzzman Jun 29, 2022
ac6da2d
Fix typo in GitHub action check for cache key
francoisfreitag Jul 5, 2022
3c4ecc5
Bump GitHub actions version
francoisfreitag Jul 5, 2022
6dab977
Update changelog.rst
kingbuzzman Jul 18, 2022
a252ef0
Remove confusing return in post_generation example
francoisfreitag Aug 30, 2021
9ecdf1c
docs: remove unused import from code snippet
billykern Jul 12, 2022
27e55cc
Drop support for end-of-life Django 2.2
francoisfreitag Aug 16, 2022
8e5b79a
Add support for Django 4.1
francoisfreitag Aug 16, 2022
3da4628
Fix typos
cclauss Oct 2, 2022
cc245f4
Fix typos
cclauss Oct 2, 2022
fb0d128
`example` translates to `exemple` in French ;)
cclauss Oct 3, 2022
f094658
Interrupt the concurrent builds on subsequent pushes
kingbuzzman Oct 27, 2022
f4e3535
Fix the Flask demo app
kingbuzzman Oct 27, 2022
edb6c2e
README.md: Update URL for Python's supported versions
cclauss Oct 5, 2022
e0f0c0f
Stop throwing custom `ImportError`
jeffwidman Oct 27, 2022
7439208
Remove Python 2 warning
jeffwidman Oct 27, 2022
ffbe278
Adds python 3.11 testing support
kingbuzzman Oct 27, 2022
6b9beb9
Comments should match the parameter names
cclauss Oct 27, 2022
a2cd524
Use `importlib_metadata` to read version
Oct 28, 2022
3f4c2dc
Add extra check if _original_params is not None and validate with a t…
foarsitter Oct 23, 2022
71ccc0f
Update tox.ini
kingbuzzman Feb 6, 2023
1e3ddeb
Fix make test rule
francoisfreitag Mar 17, 2023
7532e96
Fix SQLAlchemy warning declarative_base import path
francoisfreitag Mar 17, 2023
f81b0be
fix: Fix mute_signals for factories with post-generation hooks
last-partizan Mar 6, 2023
a39aa69
tests: Add test case
last-partizan Mar 8, 2023
51a59f6
chore: More specific assertion
last-partizan Mar 8, 2023
834afc1
Reuse existing models
francoisfreitag Mar 14, 2023
de8d51e
Add changelog entry for #1004
francoisfreitag Mar 21, 2023
f12bf9b
Skip post-generation save in test_class_decorator_related_model_with_…
francoisfreitag Mar 21, 2023
3c59001
Merge tag '3.2.1' into master
francoisfreitag Apr 24, 2023
2b0efa7
Upgrade intersphinx mapping for Sphinx 8
francoisfreitag Apr 24, 2023
53b34d5
Remove zip_safe flag from setup.cfg
francoisfreitag May 2, 2023
d498bcd
Factor "unwrapped evaluation" of declarations.
rbarrois Apr 7, 2023
5433048
Handle declarations in Transformers
francoisfreitag Mar 5, 2023
f52d6cd
Introduce Transformer.Force
francoisfreitag Mar 17, 2023
38ecbae
Preparing release 3.3.0
rbarrois Jul 19, 2023
86b87f4
Back to development: 3.3.1
rbarrois Jul 19, 2023
f085907
Fix test_version
rbarrois Jul 19, 2023
2a37190
Fix linting issue in test_version
rbarrois Jul 19, 2023
f83e0f6
Don't require setting sqlalchemy_session to None when using a factory.
jgadling Jul 24, 2023
e02146f
Add changelog entry for f83e0f672039de0c6b7e5ba7d738cccdd592ca57
francoisfreitag Jul 31, 2023
7e4ac86
Add version added to docs for `Transformer`
samueljsb Aug 11, 2023
f9574a1
Add support for Django 4.2
francoisfreitag Sep 4, 2023
63c2df4
Drop support for Django 4.0
francoisfreitag Sep 4, 2023
fb744fd
Fixed mute_signals restoring signals receiver order.
sarahboyce Sep 19, 2023
5eb79fe
Tighten assertions
francoisfreitag Sep 19, 2023
3ea1117
Add note about creating unusable passwords
Sep 20, 2023
45d7a95
Add support for Python 3.12
francoisfreitag Oct 4, 2023
1c99a46
Remove support for EOL Python 3.7
francoisfreitag Jul 17, 2023
5044047
Add support for Django 5.0
francoisfreitag Nov 16, 2023
cbbc20e
Point License badge to the License on GitHub
francoisfreitag Nov 17, 2023
27c0196
GitHub Actions: Test PyPy 3.10
cclauss Dec 6, 2023
eda5022
actions/setup-python@v5
cclauss Dec 6, 2023
5aaf869
tox.ini: Enable testing on Django v5.0
cclauss Dec 6, 2023
36eb3ca
Django v4.2 now supports Python v3.12
cclauss Dec 6, 2023
8a50a8e
Update envlist for Django 4.2 and drop unsupported Django 4.0
francoisfreitag Dec 21, 2023
69809cf
Disable py{py39,py310}-django42-mongo-alchemy-postgres
cclauss Dec 21, 2023
68de8e7
Add basic typing support
last-partizan Jan 12, 2022
121d3f1
Remove unnecessary py3.8 compat path
Viicos Feb 6, 2024
1595767
Docs: Remove old/wrong hint on create(…) being used internally
thtomate Mar 2, 2024
dca3a16
Improve docstrings of `build`/`create` classmethods
Viicos Jan 17, 2024
bcfc8ec
Use dependabot to update GitHub actions
francoisfreitag May 2, 2023
85d5cc1
Bump the github_actions group with 2 updates
dependabot[bot] Apr 23, 2024
a81beb4
Drop support for Django 4.1
francoisfreitag Mar 19, 2024
7ed1e54
Don't duplicate CI checks on PRs
jeffwidman Apr 23, 2024
01c0a73
test: add regression test for #965
skarzi Mar 28, 2023
d6349de
Call evaluate_pre() instead of evaluate() on Maybe decider
francoisfreitag Apr 18, 2023
8aaa29b
Improve readability of alchemy checker
rbarrois Aug 17, 2024
f8456f5
Remove various (obsolete) warning exemption flags
rbarrois Aug 18, 2024
819acce
Run the test suite against Mongomock
rbarrois Aug 18, 2024
c2188f7
Stop testing against PostgreSQL
rbarrois Aug 18, 2024
ce39114
Stop testing for Django 3.2
rbarrois Aug 18, 2024
a7d06b9
Target Django 5.x tests at version 5.1
rbarrois Aug 18, 2024
0ee3c9d
Enable "nitpicky" mode on Sphinx
rbarrois Aug 18, 2024
c38732f
Preparing release 3.3.1
rbarrois Aug 18, 2024
ac49fb4
Back to development: 3.3.2
rbarrois Aug 18, 2024
4209372
Fixed typo in orms section document.
Antoliny0919 Nov 13, 2024
6a75386
Default ReadTheDocs to Ubuntu / Python `latest`
jeffwidman Apr 25, 2024
1792d3e
Update readthedocs build configuration
rbarrois Feb 3, 2025
632ccba
Drop pypy3.9 from test suite
rbarrois Feb 3, 2025
e007ef7
fixup! Update readthedocs build configuration
rbarrois Feb 3, 2025
68cb77c
Replace Python 3.8 with 3.13 in testing matrix
rbarrois Feb 3, 2025
6f5f6a0
Fix tox.ini config for Django "main"
rbarrois Feb 3, 2025
c463536
Update Changelog
rbarrois Feb 3, 2025
11a9acf
Preparing release 3.3.2
rbarrois Feb 3, 2025
8b75576
Back to development: 3.3.3
rbarrois Feb 3, 2025
fa397a2
Fix comment, as caught in #1108
rbarrois Feb 3, 2025
aec0b19
Announce support for intermediate Django versions
rbarrois Feb 3, 2025
336b72f
Export type annotations
rbarrois Feb 3, 2025
f82a7bf
Preparing release 3.3.3
rbarrois Feb 3, 2025
68feb45
Back to development: 3.3.4
rbarrois Feb 3, 2025
b3fc30f
Django 5.2 support
kingbuzzman May 21, 2025
bf30ab8
Updates reqs
kingbuzzman May 21, 2025
7e043d1
updates changelog
kingbuzzman May 21, 2025
4620f76
Update test.yml
kingbuzzman May 28, 2025
a912544
Update tox.ini
kingbuzzman May 28, 2025
ae9f2f4
Bump the github_actions group across 1 directory with 2 updates
dependabot[bot] Oct 1, 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
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Bug report
about: Create a report to help us improve

---

#### Description
*A clear and concise description of what the bug is.*

#### To Reproduce
*Share how the bug happened:*

##### Model / Factory code
```python
# Include your factories and models here
```

##### The issue
*Add a short description along with your code*

```python
# Include the code that provoked the bug, including as full a stack-trace as possible
```

#### Notes
*Add any notes you feel relevant here :)*
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/improvement-suggestion.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Improvement suggestion
about: Suggest an idea for this project

---

#### The problem
*Please describe the problem you're encountering (e.g "It's very complex to do [...]")*

#### Proposed solution
*Please provide some wild idea you think could solve this issue. It's much easier to work from an existing suggestion :)*

#### Extra notes
*Any notes you feel interesting to include: alternatives you've considered, reasons to include the change, anything!*
9 changes: 9 additions & 0 deletions .github/SUPPORT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Getting support

Most questions should be asked with the `factory-boy` tag on
[StackOverflow](https://stackoverflow.com/questions/tagged/factory-boy).
Alternatively, a discussion group exists at
https://groups.google.com/d/forum/factoryboy.

Please **do not open issues for support requests**. Issues are meant for bug
reports and improvement suggestions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
groups:
GitHub_Actions:
patterns:
- "*" # Group all Actions updates into a single larger pull request
42 changes: 42 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Check

on:
push:
branches:
- "master"
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
name: ${{ matrix.tox-environment }}
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
tox-environment:
- docs
- examples
- lint

env:
TOXENV: ${{ matrix.tox-environment }}

steps:
- uses: actions/checkout@v5

- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3'
cache: pip

- name: Install dependencies
run: python -m pip install tox

- name: Run
run: tox
23 changes: 23 additions & 0 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Linkcheck

on:
schedule:
- cron: '11 11 * * 1'

jobs:
build:
name: Linkcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: '3'

- name: Install dependencies
run: python -m pip install tox

- name: Run linkcheck
run: tox -e linkcheck
43 changes: 43 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Test

on:
push:
branches:
- "master"
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
tests:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "pypy-3.10"
- "pypy-3.11"

steps:
- uses: actions/checkout@v5

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: pip

- name: Install dependencies
run: python -m pip install tox-gh-actions

- name: Run tests
run: tox
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
.*.swp
*.pyc
*.pyo
.idea/

# Build-related files
docs/_build/
auto_dev_requirements*.txt
.coverage
.tox
*.egg-info
Expand All @@ -13,3 +15,4 @@ build/
dist/
htmlcov/
MANIFEST
tags
Loading
Loading