Skip to content

Commit 045a821

Browse files
authored
4.0.0 planemo (#1430)
test: fix planemo tests under latest MPL test: planemo test to galaxy version 26 ci: boost action runner versions
1 parent f2d36a6 commit 045a821

13 files changed

Lines changed: 265 additions & 267 deletions

.github/workflows/pypi.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
name: pypi upload
22

33
on:
4-
create:
5-
tags:
6-
- '*'
4+
create:
5+
tags:
6+
- "*"
77

88
defaults:
9-
run:
10-
shell: bash -l {0}
9+
run:
10+
shell: bash -l {0}
1111

1212
jobs:
13-
pypi:
14-
if: ${{ startsWith(github.ref, 'refs/tags/') }}
15-
name: upload to pypi
16-
runs-on: ubuntu-latest
17-
steps:
18-
- uses: actions/checkout@v4
19-
- uses: actions/setup-python@v5
20-
with:
21-
python-version: '3.12'
22-
cache: 'pip'
23-
- name: build
24-
run: |
25-
pip install .[actions]
26-
rm -f dist/*
27-
python -m build
28-
- name: upload
29-
env:
30-
TWINE_USERNAME: "__token__"
31-
TWINE_PASSWORD: ${{ secrets.pypi_password }}
32-
run: |
33-
twine upload dist/*
13+
pypi:
14+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
15+
name: upload to pypi
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v7
19+
- uses: actions/setup-python@v6
20+
with:
21+
python-version: "3.12"
22+
cache: "pip"
23+
- name: build
24+
run: |
25+
pip install .[actions]
26+
rm -f dist/*
27+
python -m build
28+
- name: upload
29+
env:
30+
TWINE_USERNAME: "__token__"
31+
TWINE_PASSWORD: ${{ secrets.pypi_password }}
32+
run: |
33+
twine upload dist/*

.github/workflows/test_planemo.yml

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -2,59 +2,59 @@ name: tests_planemo
22
on: [push, pull_request, workflow_dispatch]
33

44
env:
5-
GALAXY_BRANCH: release_24.1
5+
GALAXY_BRANCH: release_26.0
66

77
defaults:
8-
run:
9-
shell: bash -l {0}
8+
run:
9+
shell: bash -l {0}
1010

1111
jobs:
12-
planemo_test:
13-
name: Planemo test
14-
runs-on: ubuntu-latest
15-
strategy:
16-
matrix:
17-
chunk: [1, 2, 3]
18-
steps:
19-
- uses: actions/checkout@v4
20-
- uses: conda-incubator/setup-miniconda@v3
21-
with:
22-
miniconda-version: "latest"
23-
auto-activate-base: true
24-
python-version: "3.12"
25-
- name: get samtools
26-
run: |
27-
conda install -c conda-forge -c bioconda samtools
28-
- name: pip install
29-
run: |
30-
pip install .[actions]
31-
- name: planemo
32-
run: |
33-
./.planemo.sh ${{ matrix.chunk }} ${{ env.GALAXY_BRANCH }}
34-
- uses: actions/upload-artifact@v4
35-
with:
36-
name: 'Tool test output ${{ matrix.chunk }}'
37-
path: upload
38-
planemo_combine_outputs:
39-
name: Combine chunked test results
40-
needs: planemo_test
41-
runs-on: ubuntu-latest
42-
steps:
43-
- uses: actions/download-artifact@v4
44-
with:
45-
path: artifacts
46-
- name: Combine outputs
47-
uses: galaxyproject/planemo-ci-action@v1
48-
id: combine
49-
with:
50-
mode: combine
51-
html-report: true
52-
- uses: actions/upload-artifact@v4
53-
with:
54-
name: 'All tool test results'
55-
path: upload
56-
- name: Check outputs
57-
uses: galaxyproject/planemo-ci-action@v1
58-
id: check
59-
with:
60-
mode: check
12+
planemo_test:
13+
name: Planemo test
14+
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
chunk: [1, 2, 3]
18+
steps:
19+
- uses: actions/checkout@v7
20+
- uses: conda-incubator/setup-miniconda@v4
21+
with:
22+
miniconda-version: "latest"
23+
auto-activate-base: true
24+
python-version: "3.12"
25+
- name: get samtools
26+
run: |
27+
conda install -c conda-forge -c bioconda samtools
28+
- name: pip install
29+
run: |
30+
pip install .[actions]
31+
- name: planemo
32+
run: |
33+
./.planemo.sh ${{ matrix.chunk }} ${{ env.GALAXY_BRANCH }}
34+
- uses: actions/upload-artifact@v7
35+
with:
36+
name: "Tool test output ${{ matrix.chunk }}"
37+
path: upload
38+
planemo_combine_outputs:
39+
name: Combine chunked test results
40+
needs: planemo_test
41+
runs-on: ubuntu-latest
42+
steps:
43+
- uses: actions/download-artifact@v8
44+
with:
45+
path: artifacts
46+
- name: Combine outputs
47+
uses: galaxyproject/planemo-ci-action@v1
48+
id: combine
49+
with:
50+
mode: combine
51+
html-report: true
52+
- uses: actions/upload-artifact@v7
53+
with:
54+
name: "All tool test results"
55+
path: upload
56+
- name: Check outputs
57+
uses: galaxyproject/planemo-ci-action@v1
58+
id: check
59+
with:
60+
mode: check

0 commit comments

Comments
 (0)