Skip to content

fixed run message in test.yml #22

fixed run message in test.yml

fixed run message in test.yml #22

Workflow file for this run

name: e2e-tests
on: [push]
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
# - name: Checkout
# uses: actions/checkout@v3
#
# - name: Install `serve`
# run: npm install -g serve
#
# - name: Start `serve` to host the app
# run: serve -s build -l 8900 &
#
# - name: Cypress run
# uses: cypress-io/github-action@v5
# with:
# start: npm start
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10' # Use the Python version compatible with your Flask app
- name: Install Flask dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flask
- name: Run Cypress tests
uses: cypress-io/github-action@v5
with:
start: npm start