Skip to content

Commit

Permalink
Skip tests
Browse files Browse the repository at this point in the history
  • Loading branch information
juadde committed Mar 5, 2025
1 parent c982b4f commit 453b782
Showing 1 changed file with 0 additions and 63 deletions.
63 changes: 0 additions & 63 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,71 +11,8 @@ on:
- '*.*'

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]
steps:
- uses: getong/mariadb-action@v1.11
with:
mysql database: 'pigallery_test'
mysql root password: 'password'
mysql user: 'user'
mysql password: 'password'
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Verify MariaDB connection
env:
PORT: ${{ job.services.mariadb.ports[3306] }}
run: |
while ! mysqladmin ping -h"127.0.0.1" -P"$PORT" --silent; do
sleep 1
done
- name: npm install and build
run: |
npm ci
npm run build
- name: lint
run: |
npm run lint
- name: test
run: |
npm test
npm run coverage
env:
MYSQL_HOST: localhost
MYSQL_USERNAME: root
MYSQL_PASSWORD: password
MYSQL_PORT: ${{ job.services.mariadb.ports[3306] }}
PORT: 35000
CI: true
- name: Coveralls
uses: coverallsapp/github-action@v2
- name: E2E test - Cypress run
uses: cypress-io/github-action@v6
env:
DEBUG: '@cypress/github-action'
with:
start: npm run start-e2e-server
# after the test run completes store screenshots
- uses: actions/upload-artifact@v3
if: failure() # Store screenshots only on failures
with:
name: cypress-screenshots
path: test/cypress/screenshots
if-no-files-found: ignore # 'warn' or 'error' are also available, defaults to `warn`

create-release:
runs-on: [ubuntu-latest]
needs: [test]
steps:
-
name: Checkout
Expand Down

0 comments on commit 453b782

Please sign in to comment.