Skip to content

Commit

Permalink
fix: try and fix PR CI again
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptk committed May 25, 2023
1 parent 1d2efba commit 71271e4
Show file tree
Hide file tree
Showing 2 changed files with 143 additions and 64 deletions.
47 changes: 24 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: abatilo/actions-poetry@v2
- uses: pre-commit/action@v3.0.0

test:
Expand Down Expand Up @@ -55,28 +56,28 @@ jobs:
- name: Test with Pytest
run: poetry run pytest
shell: bash
release:
runs-on: ubuntu-latest
environment: release
if: github.ref == 'refs/heads/main'
needs:
- test
# release:
# runs-on: ubuntu-latest
# environment: release
# if: github.ref == 'refs/heads/main'
# needs:
# - test

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 0
# persist-credentials: false

# Run semantic release:
# - Update CHANGELOG.md
# - Update version in code
# - Create git tag
# - Create GitHub release
# - Publish to PyPI
# - name: Python Semantic Release
# uses: relekang/python-semantic-release@v7.33.2
# with:
# github_token: ${{ secrets.GH_TOKEN }}
# repository_username: __token__
# repository_password: ${{ secrets.PYPI_TOKEN }}
# # Run semantic release:
# # - Update CHANGELOG.md
# # - Update version in code
# # - Create git tag
# # - Create GitHub release
# # - Publish to PyPI
# - name: Python Semantic Release
# uses: relekang/python-semantic-release@v7.33.2
# with:
# github_token: ${{ secrets.GH_TOKEN }}
# repository_username: __token__
# repository_password: ${{ secrets.PYPI_TOKEN }}
160 changes: 119 additions & 41 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 71271e4

Please sign in to comment.