diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-02-09 20:11:00 -0500 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-02-09 21:33:59 -0500 |
| commit | 96987705eae16cf5768396eddbea6cf52d152105 (patch) | |
| tree | df04677bf50d8d6a05d0df14bc672848237ea51d /.github | |
| parent | Replace poetry with uv (diff) | |
| download | lirc-96987705eae16cf5768396eddbea6cf52d152105.zip | |
Replace github actions with sourcehut CI
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/lint.yml | 25 | ||||
| -rw-r--r-- | .github/workflows/release.yml | 29 | ||||
| -rw-r--r-- | .github/workflows/test.yml | 51 |
3 files changed, 0 insertions, 105 deletions
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 |