This pull request introduces a new PATCH endpoint to factory reset all prospects' flag and hide fields, updates the project version, and adds a utility script for printing the current SQL schema for the prospects table. Additionally, the SQL file for creating the prospects table has been removed, possibly in favor of the new dynamic schema printer.
#233
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: 🍴 NX° | |
| on: | |
| 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 | |
| - name: Friendly message - End | |
| run: echo "✅ All done" |