chore: release v1.2.5 #18
Workflow file for this run
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: Pull Request Events | |
on: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test-unit: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Set up code | |
uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
- name: 🐍 Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
cache: pip | |
cache-dependency-path: setup.py | |
- name: 📥 Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libkrb5-dev | |
- name: 🏗 Install module | |
run: pip install .[tests] | |
- name: 🧶 Lint | |
run: ruff check --output-format=github . | |
- name: 🧪 Run pytest | |
run: pytest | |
- name: ⬆️ Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./cov.xml |