Skip to content

Commit

Permalink
Setup CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrist committed Sep 7, 2023
1 parent aa0cf50 commit 9f98160
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build and Test

on:
push:
branches: [main]
pull_request:
branches: [main]
paths-ignore:
- "README.md"

jobs:
lint:
name: Lint
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Run pre-commit hooks
uses: pre-commit/action@v3.0.0

test:
name: Test
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Install Python
uses: actions/setup-python@v2
with:
python-version: "3.10"

- name: Install ibisml
run: |
pip install pytest "."
- name: Run tests
run: |
pytest tests/

0 comments on commit 9f98160

Please sign in to comment.