diff --git a/.gitea/workflows/python-container.yml b/.gitea/workflows/python-container.yml index 1850faf..4c70962 100644 --- a/.gitea/workflows/python-container.yml +++ b/.gitea/workflows/python-container.yml @@ -1,7 +1,8 @@ name: Build Python Container - on: - push + push: + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' jobs: Package-Container: diff --git a/.gitea/workflows/python-package.yml b/.gitea/workflows/python-package.yml index f0512f8..a236fcf 100644 --- a/.gitea/workflows/python-package.yml +++ b/.gitea/workflows/python-package.yml @@ -1,9 +1,10 @@ -name: Test and Package Python -on: [push] +name: Package Python +on: + push: + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' jobs: - Test: - uses: jmaa/workflows/.gitea/workflows/python-test.yaml@v6.21 Package: uses: jmaa/workflows/.gitea/workflows/python-package.yaml@v6.21 with: diff --git a/.gitea/workflows/python-test.yml b/.gitea/workflows/python-test.yml new file mode 100644 index 0000000..cf6212f --- /dev/null +++ b/.gitea/workflows/python-test.yml @@ -0,0 +1,6 @@ +name: Test Python +on: [push] + +jobs: + Test: + uses: jmaa/workflows/.gitea/workflows/python-test.yaml@v6.21 diff --git a/.gitignore b/.gitignore index e6e989c..bd63e04 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ __pycache__/ /build/ /dist/ *.egg-info/ +.mypy_cache/ # Python, Testing /test/secrets.py