Skip to content

Commit

Permalink
fix: matrix format for workflow strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
mihai-sysbio committed Mar 6, 2023
1 parent 861ea55 commit 986d0fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
fail-fast: false
matrix: ${{ needs.setup.outputs.matrix }}
matrix:
gem: ${{ needs.setup.outputs.matrix }}
max-parallel: 1

steps:
Expand Down
3 changes: 1 addition & 2 deletions runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ def releases(nameWithOwner):
return release_tags + additional_branch_tags

def matrix():
m = list(map(lambda g: { 'gem': g }, gem_repositories()))
print(json.dumps({"include": m }))
print(list(gem_repositories()))

def gem_follows_standard(nameWithOwner, release, version):
repo_standard = requests.get('https://raw.githubusercontent.com/{}/{}/.standard-GEM.md'.format(nameWithOwner, release))
Expand Down

0 comments on commit 986d0fc

Please sign in to comment.