Skip to content

Commit

Permalink
setup ci?
Browse files Browse the repository at this point in the history
  • Loading branch information
lubojr committed Jun 20, 2024
1 parent d7b8de1 commit fca6132
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Python package

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.12"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version
- name: Install dependencies
run: python -m pip install -r requirements.txt
- name: Lint
run: python -m ruff check --no-cache .
- name: Test
run: python -m pytest -p no:cacheprovider

0 comments on commit fca6132

Please sign in to comment.