Moved the links to the sidebar #236 #82
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: Cypress Testing 🌲 | |
| on: | |
| push: | |
| branches: | |
| - development | |
| pull_request: | |
| branches: | |
| - development | |
| jobs: | |
| cypress: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.11' | |
| - name: Build Clima | |
| run: |- | |
| pip install pipenv | |
| pipenv install | |
| - name: Start Clima | |
| run: |- | |
| pipenv run python main.py & | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.9.0' | |
| - name: Install Cypress | |
| run: |- | |
| cd tests/node | |
| npm ci | |
| - name: Run Cypress | |
| run: |- | |
| cd tests/node | |
| npm run cy:run | |
| - name: Archive screenshots | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: cypress-screenshots | |
| path: tests/node/cypress/screenshots | |
| - name: Archive videos | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: cypress-videos | |
| path: tests/node/cypress/videos | |
| retention-days: 3 |