Add GitHub Actions CI and run tests with Docker
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | Use django.test.TestCase so tests run against a test database.Post/ | +6 | 0 replies | |
| 2/5 | Add docker/run-tests.sh to run the tests in a container..dockerignore .gitignore docker/ +1 more | +44 | 0 replies | |
| 3/5 | Add a GitHub Actions workflow to run the tests..github/ | +22 | 0 replies | |
| 4/5 | Port culldb and purge.py to Python 3.Post/ Post/ Post/ | +37 | 0 replies | |
| 5/5 | Add a ruff lint job to CI and fix its findings..github/ Post/ Post/ +7 more | +40 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [error-report-web][PATCH 0/5] Add GitHub Actions CI and run tests with Docker
Add .github/workflows/ci.yml and run tests with docker/run-tests.sh script. This has been run on https://github.com/moto-timo/error-report-web master-next branch.
Tim Orling (5):
Use django.test.TestCase so tests run against a test database. Add docker/run-tests.sh to run the tests in a container. Add a GitHub Actions workflow to run the tests.
Port culldb and purge.py to Python 3.
Add a ruff lint job to CI and fix its findings.
.dockerignore | 10 ++++++ .github/workflows/ci.yml | 31 +++++++++++++++++++ .gitignore | 1 + Post/createStatistics.py | 6 ++-- Post/management/commands/culldb.py | 36 +++++++++------------- Post/models.py | 4 +-- Post/parser.py | 5 +-- Post/purge.py | 4 +-- Post/templatetags/projecttags.py | 4 --- Post/test.py | 49 ++++++++++++++++++++++++------ Post/views.py | 10 +++--- docker/run-tests.sh | 32 +++++++++++++++++++ project/settings.py.docker | 2 +- ruff.toml | 5 +++ test-data/test-send-error.py | 4 ++- 15 files changed, 149 insertions(+), 54 deletions(-) create mode 100644 .dockerignore create mode 100644 .github/workflows/ci.yml create mode 100755 docker/run-tests.sh create mode 100644 ruff.toml
base-commit: 752b7188d04c2fd0e2f32f0cd2dd437c43058d82
Signature · 1 line
2.56.0