Skip to content

Commit

Permalink
ci: Add step to print GitHub tag in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cauliyang committed Aug 5, 2024
1 parent 0451f09 commit f985cd0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,14 @@ jobs:
name: wheels-sdist
path: dist

- name: print tag github.ref
run: |
echo "GITHUB_REF: ${{ github.ref }}"
release:
name: Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/py-deepbiop-v')"
if: ${{ startsWith(github.ref, 'refs/tags/py-deepbiop-v') }}
needs: [linux, musllinux, windows, macos, sdist]
steps:
- uses: actions/download-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion py-deepbiop/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ classifiers = [
Homepage = "https://github.com/cauliyang/DeepBioP"
Documentation = "https://github.com/cauliyang/DeepBioP"
Repository = "https://github.com/cauliyang/DeepBioP"
Changelog = "https://github.com/cauliyang/DeepBioP/releases"
Changelog = "https://github.com/cauliyang/DeepBioP/CHANGELOG.md"


[tool.mypy]
Expand Down
4 changes: 2 additions & 2 deletions py-deepbiop/tests/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import deepbiop
from deepbiop import utils


def test_hight_targets():
result = deepbiop.utils.highlight_targets("ACTGAACCGAGATCGAGTG", [(0, 3), (7, 10)])
result = utils.highlight_targets("ACTGAACCGAGATCGAGTG", [(0, 3), (7, 10)])
print(result)

0 comments on commit f985cd0

Please sign in to comment.