Add pyproject packaging + viralens command; ignore build artifacts
#1
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: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install (editable, deps from pyproject) | |
| run: pip install -e . | |
| - name: Syntax check (compile all scripts) | |
| run: python -m compileall scripts | |
| - name: Smoke test (console entry point) | |
| run: viralens --help |