From 74dd9a297558c435892a3e64b7d6ee19c087e312 Mon Sep 17 00:00:00 2001 From: levisingularity Date: Fri, 12 Jan 2024 14:21:29 -0300 Subject: [PATCH] ci: testing src on PR --- .github/workflows/testing.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/testing.yml diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml new file mode 100644 index 00000000..5df6dce7 --- /dev/null +++ b/.github/workflows/testing.yml @@ -0,0 +1,32 @@ +--- +name: Testing + +on: + pull_request: + branches: + - develop + - master + +jobs: + tests: + runs-on: ubuntu-latest + steps: + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: ^3.8.5 + + - name: Checkout + uses: actions/checkout@v4 + + - name: Install poetry + run: pip3 install poetry + + - name: Install dependencies + run: poetry export --dev -f requirements.txt | pip3 install -r /dev/stdin + + - name: Run Unit Tests + run: make unit-tests unit-tests-coverage + + - name: + run: make integration-tests