Bump black from 22.3.0 to 24.3.0 #167
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: Tests | |
on: | |
push: | |
branches: [ main, release/** ] | |
pull_request: | |
branches: [ main, release/** ] | |
jobs: | |
tests: | |
runs-on: ${{ matrix.os}} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- run: git fetch --prune --tags --unshallow | |
- name: Setup Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: "3.10" | |
- name: Setup Poetry | |
uses: Gr1N/setup-poetry@v7 | |
- name: Install Packages | |
run: poetry install | |
- name: Run PyTest | |
run: poetry run pytest | |
- name: Test Build | |
run: | | |
poetry run python ./build_system/update_version.py | |
poetry run pyinstaller --onefile ./src/zeal_cli/__main__.py --name zeal-cli |