diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml deleted file mode 100644 index dfbee216..00000000 --- a/.github/workflows/pull-request.yml +++ /dev/null @@ -1,32 +0,0 @@ ---- -name: Pull Request - -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: Run poetry lock - run: poetry lock --no-update - - - 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 diff --git a/.github/workflows/testing.yml b/.github/workflows/run-tests.yml similarity index 87% rename from .github/workflows/testing.yml rename to .github/workflows/run-tests.yml index 749d47e4..0a6bd2c8 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/run-tests.yml @@ -1,7 +1,12 @@ --- -name: Testing +name: Run Unit & Integration tests on: + pull_request: + branches: + - develop + - master + workflow_dispatch: inputs: