Commit Graph
52 Commits
Author SHA1 Message Date
Nicola Soranzo ab99721900 Merge branch 'release_23.0' into dev 2023-05-14 14:40:28 +01:00
mvdbeek 3a2e936401 Install node from setup-node action in more tests
Should help with nodeenv failing in CI tests, e.g.
```
Installing node into /home/runner/work/galaxy/galaxy/galaxy root/.tox/unit-coverage with nodeenv.
 * Install prebuilt node (18.12.1) .Incomplete read while readingfrom https://nodejs.org/download/release/v18.12.1/node-v18.12.1-linux-x64.tar.gz
.
Traceback (most recent call last):
  File "/home/runner/work/galaxy/galaxy/galaxy root/.tox/unit-coverage/bin/nodeenv", line 10, in <module>
    sys.exit(main())
  File "/home/runner/work/galaxy/galaxy/galaxy root/.tox/unit-coverage/lib/python3.7/site-packages/nodeenv.py", line 1104, in main
    create_environment(env_dir, args)
  File "/home/runner/work/galaxy/galaxy/galaxy root/.tox/unit-coverage/lib/python3.7/site-packages/nodeenv.py", line 980, in create_environment
    install_node(env_dir, src_dir, args)
  File "/home/runner/work/galaxy/galaxy/galaxy root/.tox/unit-coverage/lib/python3.7/site-packages/nodeenv.py", line 739, in install_node
    install_node_wrapped(env_dir, src_dir, args)
  File "/home/runner/work/galaxy/galaxy/galaxy root/.tox/unit-coverage/lib/python3.7/site-packages/nodeenv.py", line 762, in install_node_wrapped
    download_node_src(node_url, src_dir, args)
  File "/home/runner/work/galaxy/galaxy/galaxy root/.tox/unit-coverage/lib/python3.7/site-packages/nodeenv.py", line 602, in download_node_src
    with ctx as archive:
  File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/contextlib.py", line 112, in __enter__
    return next(self.gen)
  File "/home/runner/work/galaxy/galaxy/galaxy root/.tox/unit-coverage/lib/python3.7/site-packages/nodeenv.py", line 573, in tarfile_open
    tf = tarfile.open(*args, **kwargs)
  File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/tarfile.py", line 1573, in open
    saved_pos = fileobj.tell()
AttributeError: 'bytes' object has no attribute 'tell'
```
from https://github.com/galaxyproject/galaxy/actions/runs/4883207488/jobs/8714237674?pr=16036
2023-05-04 17:35:06 +02:00
Nicola Soranzo 597a1839f2 Install singularity in the integration GitHub workflow
so that test classes that need it are not skipped any more.
2023-02-28 18:32:03 +00:00
Nicola Soranzo 7676afbf3b Update minikube-setup-action and use more recent k8s version
The older minikube/k8s fail to launch under Ubuntu 22.04, which
is being deployed on GitHub action workers:
2022-12-07 03:59:45 +00:00
Nicola Soranzo c1e839c570 Replace `set-output commands with $GITHUB_OUTPUT` environment file
See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-10-17 02:26:39 +01:00
Nicola Soranzo 2988127158 Update GitHub action versions 2022-10-17 01:21:12 +01:00
Nicola Soranzo 02da77abcb Use `${{ github.workflow }}` in concurrency group name 2022-05-17 15:09:14 +02:00
Nicola Soranzo 1155b01784 Update GitHub action versions 2022-05-04 23:05:12 +01:00
John Chilton fa4ee7b9b9 Implement asynchronous download APIs using STS.
- Allow serving zipped collections using STS.
- Allow serving markdown PDFs using STS.
2022-04-13 09:53:56 -04:00
Nicola Soranzo 6524e1f344 Fix path of venv when caching 2022-03-19 03:52:23 +00:00
Nicola Soranzo 25e37dd9d5 Merge pull request #13503 from mvdbeek/metadata_strategy_extended_tests_schedule 2022-03-09 14:21:26 +00:00
Marius van den BeekandNicola Soranzo 9c056a0d87 Mention why we don't run integration tests with outputs_to_working_directory
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2022-03-09 10:47:23 +01:00
mvdbeek 55aec359b0 Run extended metadata test on schedule
Including outputs_to_working_directory, except for the integration
tests.
2022-03-08 18:58:15 +01:00
mvdbeek 8065893ed2 Run all relevant tests with GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY: 'extended 2022-03-08 18:29:18 +01:00
mvdbeek c90e012fda Upload coverage results to codecov.io 2022-02-11 17:11:08 +01:00
Marius van den Beek 5df80bd0b7 Merge pull request #13171 from ic4f/dev_sa20warning
Enable setting SQLALCHEMY_WARN_20
2022-01-24 18:47:35 +01:00
mvdbeek 64d395862e Merge branch 'release_21.09' into dev 2022-01-24 09:28:08 +01:00
mvdbeek 6c7f4b0702 Skip api tests if lib/galaxy_test/selenium is touched
(and other unrelated test).
2022-01-23 10:42:34 +01:00
Sergey Golitsynskiy bd02eaff6c Enable SA2.0 warning on api/selenium/integration tests 2022-01-18 22:02:13 -05:00
mvdbeek 198c59177d Add various include/exclude patterns for github workflows 2021-10-27 10:15:41 +02:00
mvdbeek b3a61496b2 Add various include/exclude patterns for github workflows 2021-10-27 10:11:27 +02:00
Nicola Soranzo 3cac4cc39e Merge branch 'release_21.09' into dev 2021-10-23 12:34:40 +01:00
Nicola Soranzo 258cf8eb3a Fix invalid framework GH workflow
Fix:
```
The workflow is not valid. .github/workflows/framework.yaml (Line: 8, Col: 1): 'env' is already defined
```

Also:
- consistently sort top-level `env` and `concurrency` (as in
  https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions )
- sort env variables alphabetically
2021-10-23 00:07:40 +01:00
mvdbeek 0e11349685 Merge branch 'release_21.09' into dev 2021-10-20 17:24:41 +02:00
mvdbeek b4befd02b5 Raise exception for if we're saving a historyless HDA 2021-10-18 11:42:39 +02:00
mvdbeek 81f130de65 Shars start counting at 0 2021-10-18 08:50:13 +02:00
mvdbeek 992edaa8b4 Split integration tests more evenly 2021-10-18 08:50:13 +02:00
Nuwan Goonasekera baf5bc6331 Made venv cache dependent on exact python and os version.
xref: https://github.com/python-poetry/poetry/pull/1908
xref: https://github.com/actions/setup-python/issues/182
2021-10-04 19:24:21 +05:30
Nuwan Goonasekera ef2c5a357c Added more caching for github actions using tox and venv 2021-10-04 18:57:08 +05:30
mvdbeek 5c8898ffd9 Cancel already running job with same ref
ref is "
The branch or tag ref that triggered the workflow run. For branches this in the format refs/heads/<branch_name>, and for tags it is refs/tags/<tag_name>.
"
2021-06-30 16:25:29 +02: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 8c444ac5c1 Move unit tests to GitHub workflows
Also some random fixes to other GitHub workflows.
2021-03-04 20:01:06 +00:00
Marius van den BeekandNicola Soranzo fa9c9bd517 Use multiline yaml
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2021-02-08 14:01:28 +01:00
mvdbeek 12e52783de Restore all integration subsets 2021-02-08 13:08:45 +01:00
mvdbeek 5f7ab67696 Deploy postgresql and rabbitmq in kubernetes
Setting up minikube stops the postgres and rabbitmq containers that are
set up by the workflow. These are setup with custom docker networks, so
it isn't trivial to restart them. Instead we just deploy them to
minikube.
2021-02-08 11:19:43 +01:00
Helena RascheandMarius van den Beek 18a5ac20d0 Cleanups from @mvdbeek
Thanks!

Co-authored-by: Marius van den Beek <m.vandenbeek@gmail.com>
2020-09-16 18:31:11 +02:00
Bjoern Gruening 5bfa371a15 need to be sudo 2020-09-16 18:31:11 +02:00
Bjoern Gruening 26db56f353 apt-get ... duh 2020-09-16 18:31:11 +02:00
Bjoern Gruening a786ea1034 add wave and ffmpeg 2020-09-16 18:31:11 +02:00
mvdbeek e9549ebe8d Delete 15G dotnet folder, use minikube 1.9.0 2020-04-02 20:30:34 +02:00
Nicola Soranzo fc885581b1 Merge branch 'release_20.01' into dev 2020-03-26 16:59:14 +00:00
John Chilton 80138afedc Integration test for embedded Pulsar in MQ mode. 2020-03-24 10:34:30 -04:00
John Chilton 6fffe50261 Setup rabbitmq in Integration tests. 2020-03-24 10:34:30 -04:00
Nicola Soranzo 4bde3dbe9a Merge branch 'release_20.01' into dev 2020-03-18 12:32:03 +00:00
mvdbeek d12acb4642 Free space before running tests 2020-03-18 12:24:56 +01:00
Nicola Soranzo d8773a9598 Use a Galaxy root path with a space for converters and mulled tests
Also:
- Fix integration tests for checkout@v2 action: the working directory is not
  updated any more when `path` is specified
- Use checkout action to clone the galaxy-test-data repo and rsync to move
  them in place
- Install virtualenv<20 when running tests via tox in a directory containing
  spaces, xref. https://github.com/pypa/virtualenv/pull/1660
2020-02-25 02:46:42 +00:00
Nicola Soranzo f9b99fcf97 Merge branch 'release_20.01' into dev 2020-02-24 11:48:30 +00:00
Nicola Soranzo acb0674b5e Upgrade Checkout GitHub Action 2020-02-24 02:11:41 +00:00
Nicola Soranzo fb2134e647 Use a Galaxy root path with a space for integration tests 2020-01-17 19:59:35 +00:00
mvdbeek cc36560c64 Only cache pip dir, seems integration tests broke because something changed in system python 2020-01-17 09:45:14 +01:00