Introduce endpoints to manage the prospects table: a new DELETE /prospects/empty to remove all records (handles missing table) and a revamped GET /prospects/seed that recreates and seeds a prospects table from embedded CSV data. #89
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: 🍴 I TEST | |
| on: | |
| push: | |
| branches: ["master", "staging"] | |
| pull_request: | |
| branches: ["master", "staging"] | |
| jobs: | |
| test: | |
| 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.10' | |
| - name: 📦 Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - name: 🧪 Run tests | |
| run: | | |
| python -m unittest discover -s tests |