Initial commit #2
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: Smoke Test | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| workflow_dispatch: | |
| jobs: | |
| smoke-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Check Health | |
| env: | |
| PARTFUSE_RAPIDAPI_KEY: ${{ secrets.PARTFUSE_RAPIDAPI_KEY }} | |
| run: | | |
| if [ -z "$PARTFUSE_RAPIDAPI_KEY" ]; then | |
| echo "Skipping test: PARTFUSE_RAPIDAPI_KEY not found in secrets" | |
| exit 0 | |
| fi | |
| echo "Running health check..." | |
| cd curl | |
| chmod +x health.sh | |
| ./health.sh |