amancevice/influxalchemy

View on GitHub
.github/workflows/pytest.yml

Summary

Maintainability
Test Coverage
name: pytest
on:
  pull_request:
  push:
jobs:
  pytest:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python:
          - "3.7"
          - "3.8"
          - "3.9"
          - "3.10"
          - "3.11"
          - "3.12"
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with:
          python-version: ${{ matrix.python }}
      - uses: amancevice/setup-code-climate@v2
        with:
          cc_test_reporter_id: ${{ secrets.CC_TEST_REPORTER_ID }}
      - run: cc-test-reporter before-build
      - run: pip install pipenv
      - run: make
      - run: cc-test-reporter after-build
        if: ${{ github.event_name != 'pull_request' }}