feat: add admin user password rotation #119
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: GoHireHumans CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| backend-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install backend dependencies | |
| run: python -m pip install --upgrade pip && python -m pip install -r backend/requirements.txt | |
| - name: Syntax check | |
| run: python -m py_compile backend/api_core.py backend/server.py backend/mcp_server.py backend/mcp-package/mcp_server.py | |
| - name: Unit tests | |
| run: python -m unittest discover -s backend -p 'test*.py' -v | |
| - name: Dependency audit | |
| run: python -m pip install pip-audit && python -m pip_audit -r backend/requirements.txt | |
| static-frontend-checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Static regression tests | |
| run: python -m unittest backend/test_deep_audit_regressions.py -v |