From d5be6b1c0d9459872f0ee880acc5b5e5f618654a Mon Sep 17 00:00:00 2001 From: "mueez.khan" Date: Tue, 11 Jan 2022 13:57:25 +0500 Subject: [PATCH] combining 2 steps of the action into 1 --- .github/workflows/python-app.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 9e1f54f..812c0d2 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -1,8 +1,8 @@ name: Python application -on: - push: - branches: [ main ] +on: push +# : + # branches: [ main ] jobs: build: @@ -12,9 +12,10 @@ jobs: steps: - uses: actions/checkout@v2 - name: Install dependencies - run: / + run: | python -m pip install --upgrade pip if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - name: Test selenium - run: / - python manage.py test \ No newline at end of file + python manage.py test + # - name: Test selenium + # run: / + \ No newline at end of file