Commit Graph
340 Commits
Author SHA1 Message Date
mvdbeek ed94b91456 Use --biocontainers in converter tests 2023-09-13 12:18:25 +02:00
mvdbeek 5b4179ea97 Merge branch 'release_23.0' into release_23.1 2023-09-08 14:41:13 +02:00
mvdbeek 98da5653a5 Merge branch 'release_22.05' into release_23.0 2023-09-08 14:40:36 +02:00
mvdbeek 7c11227b1c Switch to upstream setup-chromedriver action 2023-09-08 13:45:26 +02:00
mvdbeek 9e97643df4 Merge branch 'release_23.0' into release_23.1 2023-07-26 14:19:38 +02:00
mvdbeek ff7565dd2d Merge branch 'release_22.05' into release_23.0 2023-07-26 14:16:34 +02:00
mvdbeek b9c07a7fb9 Use reusable workflow in all selenium workflows 2023-07-26 12:29:36 +02:00
mvdbeek 989551dddd Externalize selenium setup with reusable workflow 2023-07-26 12:25:04 +02:00
mvdbeek b56d785d4e Use action 2023-07-26 12:25:00 +02:00
mvdbeek eee86327ab Use upstream command to install chrome and chromedriver 2023-07-26 11:17:24 +02:00
mvdbeek 37977ebed5 Bump version of chromedriver setup action 2023-07-25 14:11:04 +02:00
Nicola Soranzo 0a73e1c512 Merge branch 'release_23.0' into release_23.1 2023-07-24 15:16:11 +01:00
Nicola Soranzo 387aa1dd48 Test first startup on macOS also with Python 3.11
- Allow passing GALAXY_CONDA_PYTHON_VERSION environment variable to
  the startup script to specify the Python version to use when
  creating the `_galaxy_` conda environment.
- Some Shellcheck fixes.
2023-07-21 00:58:33 +01:00
Nicola Soranzo 5de8eca58a Merge branch 'release_23.0' into release_23.1 2023-07-12 12:14:22 +01:00
Nicola Soranzo e7500ae7db Pin black version to 23.3.0 in workflow action
black 23.7.0 has dropped support for Python 3.7 .
2023-07-11 12:25:41 +01:00
mvdbeek 192745bc22 Bump default milestone to 23.2 2023-06-21 23:37:29 +02:00
mvdbeek 67c7181a6a Merge branch 'release_23.0' into dev 2023-06-13 17:30:22 +02:00
mvdbeek 787b8040c8 Use galaxy-release-util to upload python packages 2023-06-13 15:49:37 +02:00
Nicola Soranzo afc11e2ebc Merge branch 'release_23.0' into dev 2023-05-30 17:49:58 +01:00
mvdbeek 66ca4d5e28 Run only on galaxyproject.org owner 2023-05-28 11:16:00 +02:00
mvdbeek a4f43ca6f9 Drop package_repository argument, just use TWINE_REPOSITORY_URL 2023-05-28 11:15:59 +02:00
mvdbeek 827d9b6fc1 Fix prerelease event 2023-05-28 11:15:59 +02:00
mvdbeek d79f81905e Add publishing workflow 2023-05-28 11:15:59 +02:00
Nicola Soranzo 5889ae0ff5 Run ToolShed tests on ubuntu-latest 2023-05-25 08:28:58 +01:00
Nicola Soranzo 1d59dcb409 Fix the `singularity_container_test()` function
Fix ``test_singularity_container_test`` unit test, which failed with:

```
test/unit/tool_util/mulled/test_mulled_update_singularity_containers.py:48:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
lib/galaxy/tool_util/deps/mulled/mulled_update_singularity_containers.py:62: in singularity_container_test
    check_output(exec_command.extend(["bash", "-c", test_command]), stderr=subprocess.STDOUT)
/usr/lib/python3.8/subprocess.py:415: in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
/usr/lib/python3.8/subprocess.py:493: in run
    with Popen(*popenargs, **kwargs) as process:
/usr/lib/python3.8/subprocess.py:858: in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,

>           args = list(args)
E           TypeError: 'NoneType' object is not iterable

/usr/lib/python3.8/subprocess.py:1569: TypeError
```

Broken in commit 1dc1e5f219 .

Also:
- Use `tmp_path` pytest fixture.
- Add type annotations.
- Code refactorings.
- Install singularity in the mulled GitHub workflow so that the 2 singularity
  unit tests are not skipped any more.
2023-05-23 12:17:23 +01:00
mvdbeek 0148a3f7a8 Merge branch 'release_23.0' into dev 2023-05-19 14:54:02 +02:00
John Chilton 8cc7d3c5f3 Merge pull request #16082 from nsoranzo/osx_startup_py3.11
Fix and test startup with Python 3.11 on macOS
2023-05-15 09:07:14 -04:00
Nicola Soranzo ab99721900 Merge branch 'release_23.0' into dev 2023-05-14 14:40:28 +01:00
Nicola Soranzo 940ff9fe36 Test first startup on macOS also with Python 3.11
- Allow passing GALAXY_CONDA_PYTHON_VERSION environment variable to
  the startup script to specify the Python version to use when
  creating the `_galaxy_` conda environment.
- Some Shellcheck fixes.
2023-05-12 15:45:39 +01:00
Keith Suderman 7d0858c76d Build when tagged on GitHub and select the Docker image tag appropriately 2023-05-07 12:07:12 -04:00
Keith Suderman df389eec98 Don't build Docker image when pushing to release branches 2023-05-05 14:01:27 -04: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
John Davis f0c2e43a42 Add db migrate test to postgres workflow 2023-04-26 08:53:35 -04:00
davelopez 619e7dd635 Include Python 3.11 in OpenAPI linting GH WF 2023-03-08 14:28:52 +01: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
davelopez fc40453aa6 Fix typo 2023-02-15 17:57:29 +01:00
Dannon Baker a6c0d5a3bd Update github workflow dropping qunit 2023-02-14 08:00:06 -05:00
Nicola Soranzo d51665c969 Merge branch 'release_23.0' into dev 2023-02-10 15:51:41 +00:00
mvdbeek e84124cb82 Switch to official setup-node action for cache 2023-02-10 09:32:04 +01:00
mvdbeek c6dbab28bc Install dev-wheels in openapi schema lint workflow 2023-02-02 12:06:22 +01:00
mvdbeek 1351ca31da Merge branch 'release_23.0' into dev 2023-02-02 10:33:17 +01:00
Nicola Soranzo 4ca163b9ca Add support for Python 3.11
- Update Python dependencies that didn't have a cp311 wheel: h5py and
  psycopg2-binary.
- For packages for which there is no recent version that works on all
  Python versions supported by Galaxy (numpy and scipy), replace old
  requirement with multiple Python-version-specific requirements.
2023-02-02 01:18:25 +00:00
Helena Rasche 32fa9d5027 Revert "Import old screenshot generator"
This reverts commit 32fc3b4b8b.
2023-01-30 14:26:01 +01:00
Helena Rasche 14a30b3d01 Revert "Update to take current version of Galaxy"
This reverts commit 58b1927b31.
2023-01-30 14:25:51 +01:00
Helena Rasche 3edf633513 Revert "Swap to cron, dispatch"
This reverts commit f28063c6fe.
2023-01-30 14:25:42 +01:00
Helena Rasche 232a52e96c Revert "Only run on modern branches"
This reverts commit cba9140534.
2023-01-30 14:25:02 +01:00
Helena Rasche cba9140534 Only run on modern branches 2023-01-30 14:21:46 +01:00
Helena Rasche f28063c6fe Swap to cron, dispatch 2023-01-30 14:19:39 +01:00
Helena Rasche 58b1927b31 Update to take current version of Galaxy 2023-01-30 14:17:43 +01:00
Oleg Zharkov 32fc3b4b8b Import old screenshot generator 2023-01-30 14:10:21 +01:00