Skip to content

Commit

Permalink
TEST: Don't run Python test if JS tests were changed
Browse files Browse the repository at this point in the history
Since we're creating JS tests in the same repo as Python tests, every
time we open a PR for these tests it will run the Python functional
tests as part of the CI process. We probably want to keep running these
for Dependabots and any bugfixes that need to be done for the Python
test suite, but we don't need to run these every time we update the JS
tests.
  • Loading branch information
meisekimiu committed Aug 2, 2023
1 parent 9a66ab6 commit 0043db4
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@ name: Test

on:
push:
branches:
branches:
- main
pull_request:
paths-ignore:
- "js/**"

jobs:
execute:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: pip install -r requirements-dev.txt
- name: Run formatter
run: black --check permanent_upload
- name: Run package help
run: python3 -m permanent_upload -h


execute:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install dependencies
run: pip install -r requirements-dev.txt
- name: Run formatter
run: black --check permanent_upload
- name: Run package help
run: python3 -m permanent_upload -h

0 comments on commit 0043db4

Please sign in to comment.