Skip to content

Commit

Permalink
add CI testing
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed May 19, 2024
1 parent d8c7985 commit 7374b29
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
push:
pull_request:

jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 60
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
python-version:
- '3.12'
- '3.8'

steps:
- uses: actions/checkout@v4
- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: "Install spock"
run: |
python -m pip install --upgrade pip
pip install .[test]
- name: "Run tests"
run: python -m unittest discover
continue-on-error: true
# TODO: fix tests

0 comments on commit 7374b29

Please sign in to comment.