mirror of
https://github.com/trezor/blockbook.git
synced 2026-03-23 16:07:24 +01:00
e2e tests should run on specific runners
This commit is contained in:
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@@ -42,7 +42,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include: ${{ fromJSON(needs.prepare.outputs.deploy_matrix) }}
|
||||
runs-on: [self-hosted, Linux, X64, "${{ matrix.runner }}"]
|
||||
runs-on: [self-hosted, bb-dev-selfhosted, "${{ matrix.runner }}"]
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -61,7 +61,7 @@ jobs:
|
||||
name: E2E Tests (post-deploy)
|
||||
needs: [prepare, deploy]
|
||||
if: ${{ needs.deploy.result == 'success' }}
|
||||
runs-on: [self-hosted, Linux, X64]
|
||||
runs-on: [self-hosted, bb-dev-selfhosted]
|
||||
env:
|
||||
E2E_REGEX: ${{ needs.prepare.outputs.e2e_regex }}
|
||||
steps:
|
||||
|
||||
6
.github/workflows/testing.yml
vendored
6
.github/workflows/testing.yml
vendored
@@ -9,7 +9,7 @@ on:
|
||||
jobs:
|
||||
unit-tests:
|
||||
name: Unit Tests
|
||||
runs-on: [self-hosted, Linux, X64]
|
||||
runs-on: [self-hosted, bb-dev-selfhosted]
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -20,7 +20,7 @@ jobs:
|
||||
|
||||
connectivity-tests:
|
||||
name: Connectivity Tests
|
||||
runs-on: [self-hosted, Linux, X64]
|
||||
runs-on: [self-hosted, bb-dev-selfhosted]
|
||||
needs: unit-tests
|
||||
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
|
||||
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
|
||||
integration-tests:
|
||||
name: Integration Tests (RPC + Sync)
|
||||
runs-on: [self-hosted, Linux, X64]
|
||||
runs-on: [self-hosted, bb-dev-selfhosted]
|
||||
needs: connectivity-tests
|
||||
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user