Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

71 add GH actions and create a job for running unittests #75

Merged
merged 14 commits into from
Jul 26, 2022
15 changes: 15 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Tests
on: [pull_request]
jobs:
Run-Integration-Tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2 # Checking out the repo

- name: Run Build
run: |
make build
- name: Run tests
run: |
make test
- run: echo "🍏 This job's status is ${{ job.status }}."
24 changes: 24 additions & 0 deletions .github/workflows/python-unit-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Tests
on: [pull_request]
jobs:
Run-Unit-Tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2 # Checking out the repo

- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: "3.6"
architecture: x64

- name: Install pipenv
run: |
pip install pipenv==2022.4.8
- name: Install environment
run: pipenv install --system --deploy --ignore-pipfile --dev

- name: Run Unit Tests
run: |
make unittest
- run: echo "🍏 This job's status is ${{ job.status }}."