Description:
Set up a GitHub Actions workflow that runs a minimal smoke test on every push/PR.
Context:
Automated testing ensures that basic functionality doesn't break. A smoke test is a quick sanity check, not comprehensive testing.
Tasks:
Acceptance Criteria:
Starter template:
name: Smoke Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install poetry
poetry install
- name: Run smoke test
run: |
python -c "import hypyp; print('Import OK')"
python tests/smoke_test.py
Description:
Set up a GitHub Actions workflow that runs a minimal smoke test on every push/PR.
Context:
Automated testing ensures that basic functionality doesn't break. A smoke test is a quick sanity check, not comprehensive testing.
Tasks:
.github/workflows/smoke_test.ymlimport hypypsuccessfullyAcceptance Criteria:
Starter template: