diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..588b3a7 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,27 @@ +name: Continuous Integration +on: + push: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.9 + uses: actions/setup-python@v2 + with: + python-version: 3.9 + + - name: Install dependencies + run: pip install pipenv & pipenv install --dev + + - name: Run unit tests + run: pipenv run pytest test/ + + - name: Lint + run: pipenv run pylint --recursive=y . + + - name: Integration Test + run: bash integration_test/run.sh