Re-run black with new rules #3
Workflow file for this run
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: Test and build | |
| on: | |
| push: | |
| paths-ignore: | |
| - README.md | |
| - LICENSE | |
| - .gitignore | |
| permissions: | |
| contents: write | |
| jobs: | |
| test_and_build: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install poetry | |
| run: pipx install poetry | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version-file: pyproject.toml | |
| cache: poetry | |
| - run: poetry install --with dev | |
| - name: Run pre-commit | |
| run: | | |
| poetry run pre-commit run -a --show-diff-on-failure | |
| - name: Test | |
| run: | | |
| poetry run pytest -svvv tests/ | |
| - name: Build .exe | |
| if: github.ref == 'refs/heads/main' | |
| run: | | |
| poetry run pyinstaller -y -F --clean --log-level INFO mavlog2csv.py | |
| - uses: marvinpinto/action-automatic-releases@latest | |
| if: github.ref == 'refs/heads/main' | |
| with: | |
| repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
| automatic_release_tag: latest | |
| title: Latest build | |
| files: | | |
| dist/mavlog2csv* |