Skip to content

Commit

Permalink
Slight cleanup in test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-el committed Jan 10, 2025
1 parent 2f9aa23 commit 35f899d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
build:
env:
RELEASE_NAME: release-matrix
RELEASE_FULL_NAME: release-matrix.yml
REPOSITORY: repository.yml

strategy:
Expand Down Expand Up @@ -42,19 +43,19 @@ jobs:
- name: Lint examples
run: |
komodo-lint examples/stable.yml examples/repository.yml
komodo-lint examples/stable.yml examples/${{env.REPOSITORY}}
- name: Transpile file
run: |
komodo-transpiler transpile \
--matrix-file="ci/${{env.RELEASE_NAME}}.yml" \
--matrix-file=ci/"${{ env.RELEASE_FULL_NAME }}" \
--output ci --matrix-coordinates "{rhel: ['7'], py: ['${{matrix.python-version}}']}"
- name: Full integration test
run: |
py_version_number=$(echo "${{ matrix.python-version }}" | sed 's/\.//g')
kmd \
ci/${{env.RELEASE_NAME}}-py$py_version_number-rhel7.yml \
ci/${{ env.RELEASE_NAME }}-py$py_version_number-rhel7.yml \
ci/${{env.REPOSITORY}} \
--workspace ${{ runner.temp }}/kmd-ws \
--prefix ${{ runner.temp }}/prefix \
Expand Down

0 comments on commit 35f899d

Please sign in to comment.