Commit Graph
5537 Commits
Author SHA1 Message Date
mvdbeek d0414eee5b Adjust unit tests for new setup 2021-04-13 10:13:42 +02:00
Nicola Soranzo d9188a4c3e Merge pull request #11111 from bernt-matthias/topic/cheetah-qualified 2021-04-08 02:40:06 +01:00
Nicola Soranzo 7d32450ba8 Merge pull request #11727 from bernt-matthias/topic/lint-checkboxes
lint for checkboxes select
2021-04-07 23:19:18 +01:00
M BerntandNicola Soranzo 24ec1d603f Update test/unit/tool_util/test_tool_linters.py
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2021-04-07 22:23:53 +02:00
M BerntandNicola Soranzo 47b6780fb9 fix typo
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2021-04-07 19:38:25 +02:00
Matthias Bernt 5034d6dd62 test qualified and unqualified access 2021-04-07 17:39:48 +02:00
John Chilton 66c1132ec0 Merge pull request #11307 from bernt-matthias/topic/recurse-dirs
ignore subdirectories if recurse is false
2021-04-07 10:06:52 -04:00
M Bernt 08fbff5844 tests for multiple value splitter 2021-04-06 18:32:19 +02:00
John Chilton 7773814c06 Merge pull request #11769 from davelopez/support_permissions_in_files_sources
Support role and group permissions in file sources plugins
2021-04-06 11:14:20 -04:00
Marius van den Beek 32cb259274 Merge pull request #11641 from natefoo/release-process-overhaul
Overhaul make-based release process
2021-04-06 16:45:12 +02:00
davelopez e71b92a9f8 Add more tests for invalid expressions 2021-04-06 11:17:55 +02:00
davelopez f8ace37cb4 Add expression validation when the configuration is parsed.
This will stop Galaxy from starting with an invalid expression defined in the configuration.
2021-04-06 11:17:55 +02:00
davelopez 847db78aa1 Add test for using expression rules in posix file source 2021-04-06 11:17:55 +02:00
davelopez 03795b766e Add generic boolean expression evaluator + unit tests 2021-04-06 11:17:55 +02:00
davelopez 895c165414 Fix integration test failing by different response order 2021-04-06 11:17:55 +02:00
davelopez 6ef54d73c6 Add file sources access unit tests 2021-04-06 11:17:55 +02:00
davelopez 74ca28c3a8 Change requirement condition to both options.
If the `requires_roles` and `requires_groups` options are defined, both must be satisfied.
2021-04-06 11:17:55 +02:00
davelopez ed0af1aef1 Update integration tests 2021-04-06 11:17:55 +02:00
davelopez 7f23534461 Add integration tests.
Basic tests for the new `requires_roles` and `requires_groups` settings for FileSources using the posix plugin.
2021-04-06 11:17:55 +02:00
Sergey Golitsynskiy 179a6e4a17 Fix deprecated db urls in user config properties 2021-04-05 17:11:24 -04:00
Sergey Golitsynskiy be4429e4fb Replace: s/postgres/posgresql in db URLs
Was deprecated in SQLAlchemy 1.3, removed in SQLAlchemy 1.4
https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-3687655465c25a39b968b4f5f6e9170b
https://github.com/sqlalchemy/sqlalchemy/issues/4643
2021-04-05 15:02:26 -04:00
Nicola Soranzo 20a4bcd519 Use assertRaisesRegex() to fix new B017 linting errors
Fix the following errors reported by flake8-bugbear 21.4.3:

B017 assertRaises(Exception): should be considered evil. It can lead to
your test passing even if the code being tested is never executed due to a
typo. Either assert for a more specific exception (builtin or custom), use
assertRaisesRegex, or use the context manager form of assertRaises.
2021-04-03 20:09:02 +01:00
Marius van den Beek 0733ba3ddb Merge pull request #10222 from ic4f/dev_state5
Store job_id on Dataset table.
2021-04-02 13:29:47 +02:00
Sergey Golitsynskiy 349c0502ab Add unit test for testing dataset/job relationship 2021-04-01 17:18:44 -04:00
mvdbeek aa6e1dcc05 Merge branch 'release_21.01' into dev 2021-04-01 16:52:11 +02:00
John Chilton a6f3b255cb Merge pull request #11764 from mvdbeek/fix_format_input_implicit_conversion
[21.01] Fix format="input" with implicit conversions
2021-04-01 10:45:55 -04:00
almahmoud 619f1e7a11 galaxy.webapps.tool_shed to webapp.tool_shed 2021-03-31 17:37:36 -04:00
mvdbeek 7eb853d703 Fix format="input" with implicit conversions
where the implicit converter uses galaxy.json.

Add test, fix fix
2021-03-31 22:06:39 +02:00
Anthony Bretaudeau b5e2ea9877 try something else 2021-03-31 13:42:17 +02:00
mvdbeek c8c08ca84c Merge branch 'release_21.01' into dev 2021-03-31 12:09:44 +02:00
Anthony Bretaudeau b9c6fc6b23 debug unending ci 2021-03-31 12:09:15 +02:00
Sergey Golitsynskiy f97f3f58ca Revise test 2021-03-30 19:07:41 +02:00
Sergey Golitsynskiy e9748822fe Simplify test for degugging 2021-03-30 19:07:41 +02:00
Sergey Golitsynskiy 19617a342f Attempt to fix integration test 2021-03-30 19:07:41 +02:00
Sergey Golitsynskiy b361231314 Store job_id for discovered datasets; enable test 2021-03-30 19:07:41 +02:00
Sergey Golitsynskiy f76a0153a5 Fix lint error 2021-03-30 19:07:41 +02:00
Sergey Golitsynskiy 0305428cd7 Add integration test verifying job_id 2021-03-30 19:07:41 +02:00
Nate Coraor cc1f471490 Release process overhaul
- Convert release Makefile targets to a script
- Update package versions from Galaxy version instead of leaving them
  uncoupled
- Use next-dev-version process on release branches when in between point
  releases
- Automatically detect and increment versions
- Test merging release branches forward before pushing releases
- Support multiple rc versions (will be more useful for package testing)
- Support building local versions of packages
- Tests for the release script
2021-03-30 12:11:48 -04:00
Dannon Baker 857171e787 Globally swap MininmalManagerApp to MinimalManagerApp (thanks for
noticing the first one @nsoranzo -- I am surprised how many of these
were in here)
2021-03-29 09:29:25 -04:00
mvdbeek 1afe1e1211 Break UniverseApplication into smaller parts
so we can use a variant of app that loads managers in Celery.
2021-03-29 09:29:25 -04:00
mvdbeek f1debeacc9 Add purge dataset task 2021-03-29 09:29:25 -04:00
Anthony Bretaudeau 4adeca0e86 Merge remote-tracking branch 'upstream/release_21.01' into pulsar_tool_dir 2021-03-25 16:53:34 +01:00
Anthony Bretaudeau b5ad804b64 lint 2021-03-25 14:08:14 +01:00
Anthony Bretaudeau 340caa1174 add more tests 2021-03-25 14:01:17 +01:00
M BerntandNicola Soranzo 9c01844a45 Apply suggestions from code review
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2021-03-25 11:53:33 +01:00
Matthias Bernt 9e92503a15 add test
and reformat
2021-03-25 11:24:53 +01:00
mvdbeek ac3fcf911e Merge branch 'release_21.01' into dev 2021-03-24 20:34:06 +01:00
Sergey Golitsynskiy bb9547a1a3 Merge pull request #11696 from ic4f/dev_no_sqlalchemy_utils
Replace sqlalchemy-utilities with local implementation
2021-03-24 10:36:46 -04:00
Sergey Golitsynskiy 57782d5ff6 Add MySQL functionality, tests; refactor 2021-03-24 02:02:49 -04:00
Sergey Golitsynskiy 49ca9358bc Add view tests, refactor 2021-03-23 23:23:45 -04:00