This pull request introduces a few improvements and fixes related to API routing, endpoint metadata, and test data. The most significant changes are adjustments to the way the products API router is imported and included, an update to the root endpoint's metadata, and the addition of a new CSV test file.
#63
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-API 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 |