Skip to content

Merge pull request #69 from denpamusic/dependabot/pip/ruff-0.4.2 #1186

Merge pull request #69 from denpamusic/dependabot/pip/ruff-0.4.2

Merge pull request #69 from denpamusic/dependabot/pip/ruff-0.4.2 #1186

Workflow file for this run

name: ci
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Fetch tags
run: |
git fetch --prune --unshallow
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions coverage==7.3.2
- name: Test with tox
run: tox
- if: github.event_name != 'pull_request'
uses: paambaati/codeclimate-action@v5.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: coverage xml