Skip to content

Commit

Permalink
Revert "try to parametrize the planemo-ci-action"
Browse files Browse the repository at this point in the history
This reverts commit 56ab325.

impossible, because we can not use `uses: ${{ planemo-ci-action }}`

lets see if `uses: ./` just does the intended
  • Loading branch information
bernt-matthias committed Feb 10, 2023
1 parent cefaadb commit 1ec37df
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 26 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/wf_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ on:
default: "planemo"
required: false
type: string
planemo-ci-action:
description: 'Version of the planemo ci action to use'
default: 'galaxyproject/planemo-ci-action@v1'
required: false
type: string
secrets:
TTS_API_KEY:
required: true
Expand Down Expand Up @@ -54,7 +49,7 @@ jobs:
path: ~/.cache/pip
key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ inputs.galaxy-head-sha }}_planemo_${{ steps.get-galaxy-sha.outputs.planemo-version }}
- name: Deploy on testtoolshed
uses: ${{ planemo-ci-action }}
uses: galaxyproject/planemo-ci-action@v1
with:
mode: deploy
repository-list: ${{ inputs.repository-list }}
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/wf_lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ on:
default: "planemo"
required: false
type: string
planemo-ci-action:
description: 'Version of the planemo ci action to use'
default: 'galaxyproject/planemo-ci-action@v1'
required: false
type: string
outputs:
result:
description: "Result of the lint jobs"
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/wf_setup.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Setup
name: Test tools
on:
workflow_call:
inputs:
Expand All @@ -24,18 +24,13 @@ on:
fetch-depth:
description: 'Number of commits to fetch. 0 indicates all history for all branches and tags'
default: 1
required: false
required: false
type: number
python-version-list:
description: 'Python versions (stringified JSON array)'
default: "[\"3.7\"]"
required: false
type: string
planemo-ci-action:
description: 'Version of the planemo ci action to use'
default: 'galaxyproject/planemo-ci-action@v1'
required: false
type: string
secrets:
PAT:
required: false
Expand Down Expand Up @@ -153,7 +148,7 @@ jobs:
with:
fetch-depth: ${{ inputs.fetch-depth }}
- name: Fake a Planemo run to update cache and determine commit range, repositories, and chunks
uses: ${{ planemo-ci-action }}
uses: galaxyproject/planemo-ci-action@v1
id: discover
with:
create-cache: ${{ steps.cache-pip.outputs.cache-hit != 'true' || steps.cache-planemo.outputs.cache-hit != 'true' }}
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/wf_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ on:
default: "planemo"
required: false
type: string
planemo-ci-action:
description: 'Version of the planemo ci action to use'
default: 'galaxyproject/planemo-ci-action@v1'
required: false
type: string
secrets:
PAT:
required: false
Expand Down Expand Up @@ -106,7 +101,7 @@ jobs:
- name: Clean dotnet folder for space
run: rm -Rf /usr/share/dotnet
- name: Planemo test
uses: ${{ planemo-ci-action }}
uses: galaxyproject/planemo-ci-action@v1
id: test
with:
mode: test
Expand Down Expand Up @@ -150,7 +145,7 @@ jobs:
path: ~/.cache/pip
key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ inputs.galaxy-head-sha }}_planemo_${{ steps.get-galaxy-sha.outputs.planemo-version }}
- name: Combine outputs
uses: ${{ planemo-ci-action }}
uses: galaxyproject/planemo-ci-action@v1
id: combine
with:
mode: combine
Expand Down

0 comments on commit 1ec37df

Please sign in to comment.