forked from galaxyproject/galaxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from galaxyproject/dev
update official
- Loading branch information
Showing
4,489 changed files
with
306,532 additions
and
174,367 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/sh | ||
TEST=$(mktemp) | ||
TEST_EXTRA_CLASSES=$(mktemp) | ||
|
||
pytest --collect-only --ignore=test/functional lib/galaxy_test/ test/ > "$TEST" | ||
pytest -o python_classes='Test* *Test *TestCase' --collect-only --ignore=test/functional lib/galaxy_test/ test/ > "$TEST_EXTRA_CLASSES" | ||
|
||
n_tests=$(grep 'tests collected' "$TEST" | sed -e 's/[^0-9]*\([0-9]*\) tests collected.*/\1/') | ||
n_tests_extra_classes=$(grep 'tests collected' "$TEST_EXTRA_CLASSES" | sed -e 's/[^0-9]*\([0-9]*\) tests collected.*/\1/') | ||
|
||
if [ "$n_tests_extra_classes" -gt "$n_tests" ]; then | ||
echo "New test class with name not starting with Test introduced, change it to have tests collected by pytest" | ||
diff "$TEST" "$TEST_EXTRA_CLASSES" | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
hda | ||
implementors | ||
purgable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,4 @@ | |
1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes] | ||
|
||
## License | ||
- [x] I agree to license these contributions under [Galaxy's current license](https://github.com/galaxyproject/galaxy/blob/dev/LICENSE.txt). | ||
- [x] I agree to allow the Galaxy committers to license these and all my past contributions to the core galaxy codebase under the [MIT license](https://opensource.org/licenses/MIT). If this condition is an issue, uncheck and just let us know why with an e-mail to [email protected]. | ||
- [x] I agree to license these and all my past contributions to the core galaxy codebase under the [MIT license](https://opensource.org/licenses/MIT). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Build client for selenium tests | ||
on: | ||
workflow_call: | ||
outputs: | ||
commit-id: | ||
description: Commit ID | ||
value: ${{ jobs.build-client.outputs.commit-id }} | ||
jobs: | ||
build-client: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
commit-id: ${{ steps.client-commit.outputs.commit }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
path: 'galaxy root' | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18.12.1' | ||
cache: 'yarn' | ||
cache-dependency-path: 'galaxy root/client/yarn.lock' | ||
- name: get client commit | ||
id: client-commit | ||
shell: bash | ||
run: echo "commit=$(git rev-parse HEAD 2>/dev/null)" >> $GITHUB_OUTPUT | ||
working-directory: 'galaxy root' | ||
- name: cache client build | ||
uses: actions/cache@v3 | ||
id: cache | ||
with: | ||
key: galaxy-static-${{ steps.client-commit.outputs.commit }} | ||
path: 'galaxy root/static' | ||
- name: Build client | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: make client | ||
working-directory: 'galaxy root' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Check test class names | ||
on: | ||
pull_request: | ||
paths: | ||
- '.ci/check_test_class_names.sh' | ||
- 'lib/galaxy_test/**' | ||
- 'test/**' | ||
jobs: | ||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ['3.8'] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Cache pip dir | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.cache/pip | ||
key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }} | ||
- name: Install Python dependencies | ||
run: pip install -r requirements.txt -r lib/galaxy/dependencies/dev-requirements.txt | ||
- name: Run tests | ||
run: .ci/check_test_class_names.sh |
Oops, something went wrong.