From edc839d16c39c24d869db0fb6740e4db1c8568a8 Mon Sep 17 00:00:00 2001 From: IvanS Date: Sun, 22 Oct 2023 03:33:20 +0300 Subject: [PATCH] tabs indentations fixe --- .github/workflows/run-tests.yml | 91 ++++++++++++++++----------------- 1 file changed, 45 insertions(+), 46 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 6309a900..8f72e1a0 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,52 +1,51 @@ name: Run tests on: - pull_request: - branches: - - '*' + pull_request: + branches: + - '*' jobs: - test: - runs-on: ubuntu-22.04 - services: - postgres: - image: postgres - env: - POSTGRES_USER: codex - POSTGRES_DB: notes - POSTGRES_PASSWORD: postgres - ports: - - 127.0.0.1:5432:5432 - options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 - volumes: - - ./database:/var/lib/postgresql/data - - steps: - - - name: Wait for PostgreSQL - uses: jakejarvis/wait-action@master - with: - time: '20s' - - - name: Set permissions for database directory - run: sudo chmod -R 777 database - - - name: Checkout Repository - uses: actions/checkout@v3 - - - - name: Setup node - uses: actions/setup-node@v3 - with: - node-version: 20 - - - name: Install dependencies - run: yarn install - - - name: Run tests - run: yarn test + tests: + runs-on: ubuntu-22.04 + services: + postgres: + image: postgres + env: + POSTGRES_USER: codex + POSTGRES_DB: notes + POSTGRES_PASSWORD: postgres + ports: + - 127.0.0.1:5432:5432 + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 + volumes: + - ./database:/var/lib/postgresql/data + + steps: + - name: Wait for PostgreSQL + uses: jakejarvis/wait-action@master + with: + time: '20s' + + - name: Set permissions for database directory + run: sudo chmod -R 777 database + + - name: Checkout Repository + uses: actions/checkout@v3 + + - name: Setup node + uses: actions/setup-node@v3 + with: + node-version: 20 + + - name: Install dependencies + run: yarn install + + - name: Run tests + run: yarn test +