updated readme to reference first release
Test CI Templates / test-python-code-quality (3.11) (pull_request) Successful in 5s
Test CI Templates / test-python-code-quality (3.12) (pull_request) Successful in 4s
Test CI Templates / test-python-code-quality (true, false, skip-mypy) (pull_request) Successful in 4s
Test CI Templates / test-python-pytest (false, 3.11) (pull_request) Successful in 4s
Test CI Templates / test-python-pytest (true, 3.11) (pull_request) Successful in 5s
Test CI Templates / test-python-pytest (true, 3.12) (pull_request) Successful in 5s
Test CI Templates / test-web-formatting (false, false, 18) (pull_request) Successful in 5s
Test CI Templates / test-web-formatting (false, false, 20) (pull_request) Successful in 5s
Test CI Templates / test-web-formatting (false, true, 20) (pull_request) Successful in 6s
Test CI Templates / test-web-formatting (true, false, 18) (pull_request) Successful in 5s
Test CI Templates / test-web-formatting (true, true, 20) (pull_request) Successful in 4s
Test CI Templates / test-monorepo (pull_request) Successful in 4s
Test CI Templates / validate-syntax (pull_request) Successful in 10s
Test CI Templates / test-python-code-quality (3.10) (pull_request) Successful in 5s
Test CI Templates / test-python-code-quality (false, false, basic) (pull_request) Successful in 4s
Test CI Templates / test-python-code-quality (false, true, skip-pyupgrade) (pull_request) Successful in 4s
Test CI Templates / test-python-pytest (false, 3.12) (pull_request) Successful in 5s
Test CI Templates / test-web-formatting (false, true, 18) (pull_request) Successful in 5s
Test CI Templates / test-web-formatting (true, false, 20) (pull_request) Successful in 4s
Test CI Templates / test-web-formatting (true, true, 18) (pull_request) Successful in 4s
Test CI Templates / test-edge-cases (pull_request) Successful in 4s
Test CI Templates / test-results (pull_request) Successful in 3s

This commit is contained in:
Brian Bjarke Jensen
2025-09-19 21:02:23 +02:00
parent da26bc8a7e
commit 3104d9748a
4 changed files with 21 additions and 20 deletions
+6 -6
View File
@@ -27,7 +27,7 @@ on:
jobs: jobs:
code-quality: code-quality:
uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/code-quality.yml@main uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/code-quality.yml@v1.0.0
``` ```
### Advanced Usage with Custom Inputs ### Advanced Usage with Custom Inputs
@@ -43,7 +43,7 @@ on:
jobs: jobs:
code-quality: code-quality:
uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/code-quality.yml@main uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/code-quality.yml@v1.0.0
with: with:
python-version: "3.11" python-version: "3.11"
working-directory: "./backend" working-directory: "./backend"
@@ -78,7 +78,7 @@ Your Python project should have:
```yaml ```yaml
jobs: jobs:
code-quality: code-quality:
uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/code-quality.yml@main uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/code-quality.yml@v1.0.0
with: with:
skip-mypy: true skip-mypy: true
``` ```
@@ -88,7 +88,7 @@ jobs:
```yaml ```yaml
jobs: jobs:
code-quality: code-quality:
uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/code-quality.yml@main uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/code-quality.yml@v1.0.0
with: with:
python-version: "3.11" python-version: "3.11"
uv-extras: "dev,lint" uv-extras: "dev,lint"
@@ -99,12 +99,12 @@ jobs:
```yaml ```yaml
jobs: jobs:
backend-quality: backend-quality:
uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/code-quality.yml@main uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/code-quality.yml@v1.0.0
with: with:
working-directory: "./backend" working-directory: "./backend"
ml-service-quality: ml-service-quality:
uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/code-quality.yml@main uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/code-quality.yml@v1.0.0
with: with:
working-directory: "./ml-service" working-directory: "./ml-service"
python-version: "3.11" python-version: "3.11"
+6 -6
View File
@@ -27,7 +27,7 @@ on:
jobs: jobs:
test: test:
uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/pytest.yml@main uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/pytest.yml@v1.0.0
with: with:
coverage-package: "my_package" coverage-package: "my_package"
``` ```
@@ -44,7 +44,7 @@ on:
jobs: jobs:
test: test:
uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/pytest.yml@main uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/pytest.yml@v1.0.0
with: with:
python-version: "3.11" python-version: "3.11"
coverage-package: "data_store" coverage-package: "data_store"
@@ -61,7 +61,7 @@ jobs:
```yaml ```yaml
jobs: jobs:
test: test:
uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/pytest.yml@main uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/pytest.yml@v1.0.0
with: with:
pytest-args: "--verbose" pytest-args: "--verbose"
``` ```
@@ -71,7 +71,7 @@ jobs:
```yaml ```yaml
jobs: jobs:
test: test:
uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/pytest.yml@main uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/pytest.yml@v1.0.0
with: with:
coverage-package: "myapp" coverage-package: "myapp"
pytest-args: "--maxfail=1 --tb=short -x" pytest-args: "--maxfail=1 --tb=short -x"
@@ -83,13 +83,13 @@ jobs:
```yaml ```yaml
jobs: jobs:
backend-tests: backend-tests:
uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/pytest.yml@main uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/pytest.yml@v1.0.0
with: with:
working-directory: "./backend" working-directory: "./backend"
coverage-package: "backend_api" coverage-package: "backend_api"
ml-service-tests: ml-service-tests:
uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/pytest.yml@main uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/pytest.yml@v1.0.0
with: with:
working-directory: "./ml-service" working-directory: "./ml-service"
coverage-package: "ml_models" coverage-package: "ml_models"
+4 -4
View File
@@ -25,7 +25,7 @@ on:
jobs: jobs:
formatting: formatting:
uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/web/formatting.yml@main uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/web/formatting.yml@v1.0.0
``` ```
### Advanced Usage with Custom Options ### Advanced Usage with Custom Options
@@ -40,7 +40,7 @@ on:
jobs: jobs:
formatting: formatting:
uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/web/formatting.yml@main uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/web/formatting.yml@v1.0.0
with: with:
working-directory: "./frontend" working-directory: "./frontend"
node-version: "18" node-version: "18"
@@ -63,13 +63,13 @@ on:
jobs: jobs:
python-quality: python-quality:
uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/code-quality.yml@main uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/code-quality.yml@v1.0.0
with: with:
python-version: "3.12" python-version: "3.12"
working-directory: "./backend" working-directory: "./backend"
web-formatting: web-formatting:
uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/web/formatting.yml@main uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/web/formatting.yml@v1.0.0
with: with:
working-directory: "./frontend" working-directory: "./frontend"
check-yaml: true check-yaml: true
+5 -4
View File
@@ -56,7 +56,7 @@ on: [push, pull_request]
jobs: jobs:
python-quality: python-quality:
uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/code-quality.yml@main uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/code-quality.yml@v1.0.0
``` ```
### For Web/General Projects ### For Web/General Projects
@@ -68,7 +68,7 @@ on: [push, pull_request]
jobs: jobs:
formatting: formatting:
uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/web/formatting.yml@main uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/web/formatting.yml@v1.0.0
``` ```
### For Mixed Projects ### For Mixed Projects
@@ -80,12 +80,13 @@ on: [push, pull_request]
jobs: jobs:
python-quality: python-quality:
uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/code-quality.yml@main code-quality:
uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/python/[email protected]
with: with:
working-directory: "./backend" working-directory: "./backend"
web-formatting: web-formatting:
uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/web/formatting.yml@main uses: gitea.gt-proj.com/brian/CI-templates/.gitea/workflows/web/formatting.yml@v1.0.0
with: with:
working-directory: "./frontend" working-directory: "./frontend"
``` ```