add spec tests to ci

This commit is contained in:
Giacomo Pasini 2023-04-11 16:23:43 +02:00
parent 8b44ca5fe0
commit cd64e41b2d
No known key found for this signature in database
GPG Key ID: FC08489D2D895D4B
2 changed files with 18 additions and 1 deletions

17
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Spec tests
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.x
uses: actions/setup-python@v4
with:
# Semantic version range syntax or exact version of a Python version
python-version: '3.x'
- name: Run tests
run: cd carnot && python -m unittest

View File

@ -1,4 +1,4 @@
from .carnot import *
from carnot import *
from unittest import TestCase