chore(release): 0.7.3 #63
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build-test-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install Poetry | |
| run: pip install poetry | |
| - name: Install dependencies | |
| run: poetry install | |
| - name: Lint with ni-python-styleguide | |
| run: poetry run ni-python-styleguide lint | |
| - name: Lint with black | |
| run: poetry run black --check . | |
| - name: Run tests | |
| run: poetry run pytest | |
| - name: Build PyInstaller binary | |
| run: poetry run python scripts/build_pyinstaller.py | |
| - name: Upload PyInstaller binary artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: slcli-binary | |
| path: dist/slcli/ |