Skip to content

Merge pull request #27 from ikalnytskyi/chore/housekeeping #25

Merge pull request #27 from ikalnytskyi/chore/housekeeping

Merge pull request #27 from ikalnytskyi/chore/housekeeping #25

Workflow file for this run

name: ci
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Set up sources
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Run ruff
run: pipx run tox -e lint
env:
RUFF_OUTPUT_FORMAT: github
test:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
include:
- os: macos-latest
python-version: "3.12"
- os: windows-latest
python-version: "3.12"
runs-on: ${{ matrix.os }}
steps:
- name: Set up sources
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Ubuntu dependencies
run: sudo apt install pass gnupg
if: matrix.os == 'ubuntu-latest'
- name: Install macOS dependencies
run: brew install pass gnupg
if: matrix.os == 'macos-latest'
- name: Run pytest
run: pipx run tox -e test