Version 3.0.0 #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
inputs: {} | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.11", "3.12"] | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checking out repo | |
uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install and upgrade dependencies | |
run: | | |
python -m pip install -U pip setuptools wheel | |
python3 -m pip install -U .[dev] | |
# - name: Analysing the code with pylint | |
# run: pylint singer | |
- name: Runs tests with coverage | |
run: coverage run -m pytest | |
- name: Generate XML coverage report | |
run: coverage xml | |
- name: Display human readable report | |
run: coverage report |