From ae18fbf1655bf71bbcc0fd6595da18c5507e7c09 Mon Sep 17 00:00:00 2001 From: la3679 <143540361+la3679@users.noreply.github.com> Date: Tue, 26 Mar 2024 13:33:17 -0400 Subject: [PATCH] Update python-app.yml --- .github/workflows/python-app.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 61559e8..c7b4803 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -1,13 +1,12 @@ -# This workflow will install Python dependencies, run tests and lint with a single version of Python -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python - name: Python application on: push: - branches: [ "master" ] # Consider changing "master" to "main" if your default branch is named "main" + branches: + - "*" # Run on all branches for any push events pull_request: - branches: [ "master" ] # Same as above, consider the name of your default branch + branches: + - "*" # Run on all branches for any pull request events permissions: contents: read @@ -30,6 +29,3 @@ jobs: - name: Run unit tests run: | python -m unittest discover -s PCP/server/tests -v - - -