Repository navigation
feat: Add GitHub Actions workflow for publishing to GitHub Packages a… #16
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: Build and Test | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.9' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| cd python | |
| pip install -r requirements.txt | |
| pip install . | |
| - name: Test execution | |
| run: | | |
| # Use simple text to test binary execution | |
| echo "diff --git a/test.py b/test.py" | git-commit-summary || echo "Binary executed but failed on input (expected)" |