Fix latent bug in ExcGroupTB.format
due to suppressed `ExceptionGro…
#1001
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: push | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
tag: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: butlerlogic/[email protected] # https://github.com/ButlerLogic/action-autotag/issues/45#issuecomment-1825726927 | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
with: | |
strategy: regex | |
root: src/utilities/__init__.py | |
regex_pattern: '__version__ = "(?<version>\d+\.\d+\.\d+)"' | |
build: | |
runs-on: ubuntu-latest | |
needs: tag | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
python -m venv venv | |
source venv/bin/activate | |
python -m pip install --upgrade pip hatch | |
hatch build | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: artifacts | |
path: dist/* | |
if-no-files-found: error | |
publish: | |
runs-on: ubuntu-latest | |
needs: | |
- build | |
steps: | |
- uses: actions/download-artifact@v3 | |
with: | |
name: artifacts | |
path: dist | |
- uses: pypa/[email protected] | |
with: | |
skip_existing: true | |
user: __token__ | |
password: ${{ secrets.PYPI_TOKEN }} |