signing struc #205
Workflow file for this run
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: Backend Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - dev | |
| pull_request: | |
| branches: | |
| - main | |
| - dev | |
| jobs: | |
| backend-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Step 1: Check out the code | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| # Step 2: Set up Node.js | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.12" | |
| # Step 3: Install dependencies | |
| - name: Install dependencies | |
| run: | | |
| pip install -r requirements.txt | |
| working-directory: backend | |
| # Step 4: Run Pytes | |
| - name: Run Pytest | |
| run: | | |
| pytest | |
| working-directory: backend |