From 61dd22e548d334baee9d1d394deb23a39cc55c87 Mon Sep 17 00:00:00 2001 From: Ivan Gabriele Date: Sun, 25 Aug 2024 23:34:09 +0200 Subject: [PATCH] ci(github): uncomment integration workflow job --- .github/workflows/integration.yml | 70 +++++++++++++++---------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 026df6a7..9dafe371 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -21,38 +21,38 @@ jobs: uses: actions/checkout@v4 with: submodules: true - # # https://github.com/Swatinem/rust-cache#example-usage - # - uses: Swatinem/rust-cache@v2 - # with: - # cache-on-failure: true - # key: integration_e2e_debian-latest - # prefix-key: rust-cache - # shared-key: v0 - # workspaces: './src-tauri -> target' - # - name: Setup Node.js - # uses: actions/setup-node@v4 - # with: - # cache: yarn - # node-version: 20 - # - name: Install Debian dependencies - # run: | - # apt-get update - # apt-get install -y dbus-x11 - # - name: Install ClamAV - # run: | - # apt-get install -y clamav - # - name: Print ClamAV version - # run: clamscan -V - # - name: Install Node.js dependencies - # run: yarn --frozen-lockfile - # - name: Build binary - # run: yarn bundle:bin - # - name: Run tests - # uses: nick-fields/retry@v3 - # with: - # timeout_seconds: 600 - # max_attempts: 3 - # retry_on: error - # command: | - # fuser -n tcp -k 4445 - # yarn test:e2e + # https://github.com/Swatinem/rust-cache#example-usage + - uses: Swatinem/rust-cache@v2 + with: + cache-on-failure: true + key: integration_e2e_debian-latest + prefix-key: rust-cache + shared-key: v0 + workspaces: './src-tauri -> target' + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + cache: yarn + node-version: 20 + - name: Install Debian dependencies + run: | + apt-get update + apt-get install -y dbus-x11 + - name: Install ClamAV + run: | + apt-get install -y clamav + - name: Print ClamAV version + run: clamscan -V + - name: Install Node.js dependencies + run: yarn --frozen-lockfile + - name: Build binary + run: yarn bundle:bin + - name: Run tests + uses: nick-fields/retry@v3 + with: + timeout_seconds: 600 + max_attempts: 3 + retry_on: error + command: | + fuser -n tcp -k 4445 + yarn test:e2e