chore: get rid of error #33
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: Push Events | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
branches: | |
- main | |
- dev | |
concurrency: | |
group: "${{ github.head_ref || github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: Setup and Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout 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 libkrb5 for Kerberos on Linux | |
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: 🧪 Test with pytest | |
run: pytest |