On "Sun and Clouds" tab, add legend and hide secondary box #22
Workflow file for this run
This file contains 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 🌲 | |
on: [push, pull_request] | |
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.10' | |
- 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@v3 | |
if: always() | |
with: | |
name: cypress-screenshots | |
path: tests/node/cypress/screenshots | |
- name: Archive videos | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: cypress-videos | |
path: tests/node/cypress/videos | |
retention-days: 3 |