diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml new file mode 100644 index 0000000..10a9b8c --- /dev/null +++ b/.github/workflows/integration-tests.yml @@ -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 }}." \ No newline at end of file diff --git a/.github/workflows/python-unit-tests.yml b/.github/workflows/python-unit-tests.yml new file mode 100644 index 0000000..6391d65 --- /dev/null +++ b/.github/workflows/python-unit-tests.yml @@ -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 }}." \ No newline at end of file