aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-08-16 08:45:32 -0400
committerEugene Triguba <hello@eugenetriguba.com>2025-08-16 08:45:32 -0400
commit1eeb0d27818cd624872f5137a4254568eec07bc3 (patch)
treefede44e942e605db94ee4483368052ebe50495c1
parentRemove codecov (diff)
downloadconfig-file-1eeb0d27818cd624872f5137a4254568eec07bc3.zip
Remove GHA workflows
-rw-r--r--.github/workflows/python-package-ci.yml55
-rw-r--r--.github/workflows/python-publish.yml27
2 files changed, 0 insertions, 82 deletions
diff --git a/.github/workflows/python-package-ci.yml b/.github/workflows/python-package-ci.yml
deleted file mode 100644
index c3bad0d..0000000
--- a/.github/workflows/python-package-ci.yml
+++ /dev/null
@@ -1,55 +0,0 @@
-name: python package CI
-
-on:
- push:
- branches:
- - main
- pull_request:
- branches:
- - main
-
-jobs:
- build:
- runs-on: ubuntu-20.04
- strategy:
- matrix:
- python-version:
- - 3.6
- - 3.7
- - 3.8
- - 3.9
- - '3.10'
- - '3.11'
- - '3.12'
-
- steps:
- - uses: actions/checkout@v3
-
- - name: Install poetry
- run: pipx install poetry==1.7.0
-
- - name: Set up Python ${{ matrix.python-version }}
- uses: actions/setup-python@v4
- with:
- python-version: ${{ matrix.python-version }}
- cache: 'poetry'
-
- - name: Install dependencies
- run: poetry install -E toml -E yaml
-
- - name: Run tests
- run: |
- poetry run pytest --cov=config_file/ --cov-report=term-missing
- poetry run coverage xml -o coverage.xml
-
- - name: Upload coverage to Codecov
- uses: codecov/codecov-action@v3
- with:
- token: ${{ secrets.CODECOV_TOKEN }}
- file: ./coverage.xml
- flags: unittests
- name: codecov-umbrella
- fail_ci_if_error: true
-
- - name: Build Package
- run: poetry build
diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml
deleted file mode 100644
index 45ce028..0000000
--- a/.github/workflows/python-publish.yml
+++ /dev/null
@@ -1,27 +0,0 @@
-# This workflows will upload a Python Package using Twine when a release is created
-# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
-
-name: Upload Python Package
-
-on:
- release:
- types: [created]
-
-jobs:
- deploy:
- runs-on: ubuntu-22.04
- steps:
- - uses: actions/checkout@v3
- - name: Set up Python
- uses: actions/setup-python@v4
- with:
- python-version: '3.12'
- - name: Install dependencies
- run: pip install setuptools wheel poetry twine
- - name: Build and publish
- env:
- TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
- TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
- run: |
- poetry build
- twine upload dist/*