Skip to content

Commit

Permalink
Add various include/exclude patterns for github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Oct 27, 2021
1 parent 497f6a9 commit 28a8e36
Show file tree
Hide file tree
Showing 18 changed files with 145 additions and 19 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/api.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
name: API tests
on: [push, pull_request]
on:
push:
paths-ignore:
- 'client/**'
- 'doc/**'
pull_request:
paths-ignore:
- 'client/**'
- 'doc/**'
env:
GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8'
GALAXY_TEST_RAISE_EXCEPTION_ON_HISTORYLESS_HDA: '1'
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/api_paste.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
name: API (legacy paste) tests
on: [push, pull_request]
on:
push:
paths-ignore:
- 'client/**'
- 'doc/**'
pull_request:
paths-ignore:
- 'client/**'
- 'doc/**'
env:
GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8'
GALAXY_TEST_USE_UVICORN: false
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/converter_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
name: Converter tests
on: [push, pull_request]
on:
push:
paths-ignore:
- 'client/**'
- 'doc/**'
pull_request:
paths-ignore:
- 'client/**'
- 'doc/**'
env:
GALAXY_TEST_RAISE_EXCEPTION_ON_HISTORYLESS_HDA: '1'
concurrency:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/db_indexes.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
name: Database indexes
on: [push, pull_request]
on:
push:
paths-ignore:
- 'client/**'
- 'doc/**'
pull_request:
paths-ignore:
- 'client/**'
- 'doc/**'
concurrency:
group: database-${{ github.ref }}
cancel-in-progress: true
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Build docs
on: [push, pull_request]
on:
push:
paths-ignore:
- 'client/**'
pull_request:
paths-ignore:
- 'client/**'
concurrency:
group: docs-${{ github.ref }}
cancel-in-progress: true
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/first_startup.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: first startup
on: [push, pull_request]
on:
push:
paths-ignore:
- 'doc/**'
pull_request:
paths-ignore:
- 'doc/**'
env:
YARN_INSTALL_OPTS: --frozen-lockfile
concurrency:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/framework.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
name: Framework tests
on: [push, pull_request]
on:
push:
paths-ignore:
- 'client/**'
- 'doc/**'
pull_request:
paths-ignore:
- 'client/**'
- 'doc/**'
env:
GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8'
GALAXY_TEST_RAISE_EXCEPTION_ON_HISTORYLESS_HDA: '1'
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
name: Integration
on: [push, pull_request]
on:
push:
paths-ignore:
- 'client/**'
- 'doc/**'
pull_request:
paths-ignore:
- 'client/**'
- 'doc/**'
env:
GALAXY_TEST_AMQP_URL: 'amqp://localhost:5672//'
GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8'
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/integration_selenium.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Integration Selenium
on: [push, pull_request]
on:
push:
paths-ignore:
- 'doc/**'
pull_request:
paths-ignore:
- 'doc/**'
env:
GALAXY_SKIP_CLIENT_BUILD: '0'
GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8'
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/jest.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Client Unit Testing
on: [push, pull_request]
on:
push:
paths:
- 'client/**'
pull_request:
paths:
- 'client/**'
concurrency:
group: client-${{ github.ref }}
cancel-in-progress: true
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Python linting
on: [push, pull_request]
on:
push:
paths:
- '**.py'
pull_request:
paths:
- '**.py'
concurrency:
group: py-lint-${{ github.ref }}
cancel-in-progress: true
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/mulled.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
name: Mulled Unit Tests
on: [push, pull_request]
on:
push:
paths-ignore:
- 'client/**'
- 'doc/**'
pull_request:
paths-ignore:
- 'client/**'
- 'doc/**'
concurrency:
group: mulled-${{ github.ref }}
cancel-in-progress: true
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/osx_startup.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: macOS startup
on: [push, pull_request]
on:
push:
paths-ignore:
- 'doc/**'
pull_request:
paths-ignore:
- 'doc/**'
concurrency:
group: osx-first-startup-${{ github.ref }}
cancel-in-progress: true
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/performance.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
name: Performance tests
on: [push, pull_request]
on:
push:
paths-ignore:
- 'client/**'
- 'doc/**'
pull_request:
paths-ignore:
- 'client/**'
- 'doc/**'
env:
GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8'
concurrency:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/selenium.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Selenium tests
on: [push, pull_request]
on:
push:
paths-ignore:
- 'doc/**'
pull_request:
paths-ignore:
- 'doc/**'
env:
GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8'
GALAXY_TEST_RAISE_EXCEPTION_ON_HISTORYLESS_HDA: '1'
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/selenium_beta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Selenium tests (beta history panel)
on: [push, pull_request]
on:
push:
paths-ignore:
- 'doc/**'
pull_request:
paths-ignore:
- 'doc/**'
env:
GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8'
GALAXY_TEST_SKIP_FLAKEY_TESTS_ON_ERROR: 1
Expand Down Expand Up @@ -58,4 +64,4 @@ jobs:
with:
name: Selenium beta history panel test results (${{ matrix.python-version }})
path: 'galaxy root/run_selenium_tests.html'


8 changes: 7 additions & 1 deletion .github/workflows/toolshed.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Toolshed tests
on: [push, pull_request]
on:
push:
paths-ignore:
- 'doc/**'
pull_request:
paths-ignore:
- 'doc/**'
env:
GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8'
TOOL_SHED_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/toolshed?client_encoding=utf8'
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/unit.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
name: Unit tests
on: [push, pull_request]
on:
push:
paths-ignore:
- 'client/**'
- 'doc/**'
pull_request:
paths-ignore:
- 'client/**'
- 'doc/**'
concurrency:
group: py-unit-${{ github.ref }}
cancel-in-progress: true
Expand Down

0 comments on commit 28a8e36

Please sign in to comment.