From 07150231b82bfc432ef1696ad8bc2bc21c464842 Mon Sep 17 00:00:00 2001 From: Patrick Burns Date: Thu, 4 Apr 2024 13:19:09 -0500 Subject: [PATCH] update main.yml --- .github/workflows/main.yml | 60 +++++++++++++++++++------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c4514ae29..1884564f5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,33 +1,33 @@ name: End-to-end tests on: [pull_request] jobs: - cypress-run: - runs-on: ubuntu-latest - services: - mysql: - image: mysql:5.7 - env: - MYSQL_ROOT_PASSWORD: cloudlogpassword - ports: - - 3306:3306 - options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '7.4' - extensions: mbstring, mysql - coverage: xdebug - - name: Validate composer.json and composer.lock - run: composer validate - - name: Install dependencies - run: composer install --prefer-dist --no-progress --no-suggest - - name: Start Apache - run: sudo service apache2 start - - name: Run Cypress tests - uses: cypress-io/github-action@v2 - with: - start: npm start - wait-on: 'http://localhost' \ No newline at end of file + cypress-run: + runs-on: ubuntu-latest + services: + mysql: + image: mysql:5.7 + env: + MYSQL_ROOT_PASSWORD: cloudlogpassword + ports: + - 3306:3306 + options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: "7.4" + extensions: mbstring, mysql + coverage: xdebug + - name: Validate composer.json and composer.lock + run: composer validate + - name: Install dependencies + run: composer install --prefer-dist --no-progress --no-suggest + - name: Start Apache + run: sudo service apache2 start + - name: Run Cypress tests + uses: cypress-io/github-action@v2 + with: + start: npm start + wait-on: "http://localhost"