Skip to content

Commit

Permalink
Update build.yaml.jinja
Browse files Browse the repository at this point in the history
  • Loading branch information
twsl authored Feb 5, 2025
1 parent 62b9a2a commit baf21d8
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions project/.github/workflows/build.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jobs:
{% if use_precommit %}
- name: Run pre-commit
uses: pre-commit/[email protected]
continue-on-error: true
env:
SKIP: poetry-lock{% endif %}

Expand All @@ -80,14 +81,6 @@ jobs:
path: dist/
if: ${{ always() }}{% endraw %}

- name: Transform repository name
shell: bash # Explicitly specify bash shell for consistency
id: transform_name
run: |
# Get repository name, convert to lowercase, and replace '-' and spaces with '_'
transformed=$(echo "${{ github.event.repository.name }}" | tr '[:upper:]' '[:lower:]' | sed 's/[- ]/_/g')
echo "transformed_name=${transformed}" >> $GITHUB_OUTPUT

- name: Run tests
run: |
poetry run pytest -c pyproject.toml --cov-report=html \
Expand Down

0 comments on commit baf21d8

Please sign in to comment.