From 9a27ec7f163e3da728f77d682392913e176259c1 Mon Sep 17 00:00:00 2001 From: rymnc <43716372+rymnc@users.noreply.github.com> Date: Thu, 25 Apr 2024 16:34:36 +0200 Subject: [PATCH] fix: remove brew linking for test job --- .github/workflows/ci.yml | 55 ++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 30 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 00c3ce6dab..e26e782a4d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,29 +21,29 @@ jobs: permissions: pull-requests: read steps: - - uses: actions/checkout@v3 - name: Checkout code - id: checkout - - uses: dorny/paths-filter@v2 - id: filter - with: - filters: | - common: - - '.github/workflows/**' - - 'vendor/**' - - 'Makefile' - - 'waku.nimble' - - 'library/**' - - v2: - - 'waku/**' - - 'apps/**' - - 'tools/**' - - 'tests/all_tests_v2.nim' - - 'tests/**' - - docker: - - 'docker/**' + - uses: actions/checkout@v3 + name: Checkout code + id: checkout + - uses: dorny/paths-filter@v2 + id: filter + with: + filters: | + common: + - '.github/workflows/**' + - 'vendor/**' + - 'Makefile' + - 'waku.nimble' + - 'library/**' + + v2: + - 'waku/**' + - 'apps/**' + - 'tools/**' + - 'tests/all_tests_v2.nim' + - 'tests/**' + + docker: + - 'docker/**' outputs: common: ${{ steps.filter.outputs.common }} @@ -55,7 +55,7 @@ jobs: if: ${{ needs.changes.outputs.v2 == 'true' || needs.changes.outputs.common == 'true' }} strategy: matrix: - rln_version : [1, 2] + rln_version: [1, 2] os: [ubuntu-latest, macos-13] runs-on: ${{ matrix.os }} timeout-minutes: 60 @@ -86,7 +86,7 @@ jobs: if: ${{ needs.changes.outputs.v2 == 'true' || needs.changes.outputs.common == 'true' }} strategy: matrix: - rln_version : [1, 2] + rln_version: [1, 2] os: [ubuntu-latest, macos-13] runs-on: ${{ matrix.os }} timeout-minutes: 60 @@ -111,11 +111,6 @@ jobs: - name: Run tests run: | - if [ ${{ runner.os }} == "macOS" ]; then - brew unlink postgresql@14 - brew link libpq --force - fi - if [ ${{ runner.os }} == "Linux" ]; then sudo docker run --rm -d -e POSTGRES_PASSWORD=test123 -p 5432:5432 postgres:15.4-alpine3.18 fi