diff --git a/.gitea/workflows/python-package.yaml b/.gitea/workflows/python-package.yaml new file mode 100644 index 0000000..bbf910a --- /dev/null +++ b/.gitea/workflows/python-package.yaml @@ -0,0 +1,68 @@ +name: CI/CD Pipeline + +on: + push: + branches: + - main + tags: + - "v**" + + +jobs: + test: + name: Test Python 3.11 on Ubuntu + runs-on: ubuntu-latest + + steps: + - uses: https://github.com/actions/checkout@v4 + - uses: https://github.com/actions/setup-python@v5 + with: + python-version: "3.11" + + - run: | + make venv + - run: | + make test + + lint: + runs-on: ubuntu-latest + + steps: + - uses: https://github.com/actions/checkout@v4 + - uses: https://github.com/actions/setup-python@v5 + with: + python-version: "3.11" + + - run: | + make venv + - run: | + make lint + + mypy: + runs-on: ubuntu-latest + + steps: + - uses: https://github.com/actions/checkout@v4 + - uses: https://github.com/actions/setup-python@v5 + with: + python-version: "3.11" + + - run: | + make venv + - run: | + make mypy + + + test-release: + runs-on: ubuntu-latest + + steps: + - uses: https://github.com/actions/checkout@v4 + - uses: https://github.com/actions/setup-python@v5 + with: + python-version: "3.11" + + - run: | + make venv + - run: | + make test-release diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index a94cd04..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,15 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "pip" - directory: "/" - schedule: - interval: "weekly" - groups: - all: - patterns: - - "*" - - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" diff --git a/.github/workflows/python-package.yaml b/.github/workflows/python-package.yaml deleted file mode 100644 index a605a6d..0000000 --- a/.github/workflows/python-package.yaml +++ /dev/null @@ -1,76 +0,0 @@ -name: CI/CD Pipeline - -on: - - push - - pull_request - -jobs: - test: - name: Test Python ${{ matrix.python-version }} on ${{ matrix.os }} - runs-on: ${{ matrix.os }} - - strategy: - fail-fast: false - matrix: - os: - - ubuntu-latest - - macos-latest - - windows-latest - python-version: - - "3.10" - - "3.11" - - "3.12" - - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - - - run: | - make venv - - run: | - make test - - lint: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: "3.x" - - - run: | - make venv - - run: | - make lint - - mypy: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: "3.x" - - - run: | - make venv - - run: | - make mypy - - - test-release: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: "3.x" - - - run: | - make venv - - run: | - make test-release