diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2024-10-20 15:18:49 -0400 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2024-10-20 15:18:49 -0400 |
| commit | 9fd83de059a9199827dfcfe4397051ec878cfea8 (patch) | |
| tree | 677fd08c7b62b2baea8cb0ed41edcd01174072d5 /.github/workflows/python-package-ci.yml | |
| parent | Add python 3.12 and 3.13 as supported versions (diff) | |
| download | lirc-9fd83de059a9199827dfcfe4397051ec878cfea8.zip | |
Update workflows, use ruff for linting, and drop EOL python versions
Diffstat (limited to '.github/workflows/python-package-ci.yml')
| -rw-r--r-- | .github/workflows/python-package-ci.yml | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/.github/workflows/python-package-ci.yml b/.github/workflows/python-package-ci.yml deleted file mode 100644 index b3b884c..0000000 --- a/.github/workflows/python-package-ci.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: python package ci - -on: [push] - -jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - versions: [ - {python: '3.6', poetry: '1.1.15'}, - {python: '3.7', poetry: '1.2.2'}, - {python: '3.8', poetry: '1.2.2'}, - {python: '3.9', poetry: '1.2.2'}, - {python: '3.10', poetry: '1.2.2'}, - {python: '3.11', poetry: '1.2.2'}, - {python: '3.12', poetry: '1.2.2'}, - {python: '3.13', poetry: '1.2.2'}, - ] - - steps: - - uses: actions/checkout@v3 - - - 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 - poetry run pip install -r requirements-311.txt - - - name: Install system LIRC - run: sudo apt-get install lirc - - - name: Run tests - run: poetry run pytest -v tests/ --cov=lirc/ --cov-report=xml - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - file: ./coverage.xml - flags: unittests - name: codecov-umbrella - fail_ci_if_error: true - - - name: Build Package - run: poetry build |