From 96987705eae16cf5768396eddbea6cf52d152105 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Mon, 9 Feb 2026 20:11:00 -0500 Subject: Replace github actions with sourcehut CI --- .github/workflows/lint.yml | 25 --------------------- .github/workflows/release.yml | 29 ------------------------ .github/workflows/test.yml | 51 ------------------------------------------- 3 files changed, 105 deletions(-) delete mode 100644 .github/workflows/lint.yml delete mode 100644 .github/workflows/release.yml delete mode 100644 .github/workflows/test.yml (limited to '.github/workflows') diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml deleted file mode 100644 index ac32d61..0000000 --- a/.github/workflows/lint.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Lint - -on: [push] - -jobs: - run-linters: - runs-on: ubuntu-22.04 - steps: - - name: Checkout source code - uses: actions/checkout@v4 - - - name: Set up Poetry - run: pipx install poetry==1.8.4 - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: 3.13 - cache: "poetry" - - - name: Install Dependencies - run: poetry install --only=dev --only=lint - - - name: Run linters - run: poetry run task lint diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 6a8ee37..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Upload Python Package - -on: - release: - types: [created] - -jobs: - deploy: - runs-on: ubuntu-22.04 - steps: - - name: Checkout source code - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: "3.13" - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install setuptools wheel poetry - - - name: Build and publish - env: - PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} - PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - run: | - poetry publish --build -u $PYPI_USERNAME -p $PYPI_PASSWORD diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 63f8450..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: Test - -on: [push] - -jobs: - run-tests: - runs-on: ubuntu-22.04 - strategy: - matrix: - versions: - [ - { python: "3.9", poetry: "1.8.4" }, - { python: "3.10", poetry: "1.8.4" }, - { python: "3.11", poetry: "1.8.4" }, - { python: "3.12", poetry: "1.8.4" }, - { python: "3.13", poetry: "1.8.4" }, - ] - - steps: - - name: Checkout source code - uses: actions/checkout@v4 - - - name: Set up Poetry - run: pipx install poetry==${{ matrix.versions.poetry }} - - - name: Set up Python ${{ matrix.versions.python }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.versions.python }} - cache: "poetry" - - - name: Install Dependencies - run: poetry install -v - - - name: Install system LIRC - run: sudo apt-get install lirc - - - name: Run tests - run: poetry run task test_ci - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 - with: - token: ${{ secrets.CODECOV_TOKEN }} - file: ./coverage.xml - flags: unittests - name: codecov-umbrella - fail_ci_if_error: true - - - name: Build Package - run: poetry build -- cgit v1.2.3