From f51c92c60ef7959ce5719fbfb3ebe4fbc582f967 Mon Sep 17 00:00:00 2001 From: Emile Ferreira <32413750+emileferreira@users.noreply.github.com> Date: Thu, 18 Jan 2024 15:23:07 +0200 Subject: [PATCH] Invoke test workflow on PR (#14) --- .github/workflows/test-python.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index 8ba647f..7aa01c8 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -1,15 +1,11 @@ -name: Acceptance Tests - -on: [push, workflow_dispatch] - +name: Python tests +on: [push, workflow_dispatch, pull_request] jobs: build: - runs-on: ubuntu-latest strategy: matrix: python-version: [3.8, 3.9] - steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} @@ -20,6 +16,5 @@ jobs: run: | python -m pip install --upgrade pip pip install antlr4-python3-runtime==4.9.1 - - name: run all the tests in the python script - run: | - python3 tests/test_all.py \ No newline at end of file + - name: Run all the Python tests + run: python3 tests/test_all.py