This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
Bump github.com/btcsuite/btcd from 0.20.1-beta to 0.23.2 in /omnia/test/e2e #31
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Omnia Tests | |
on: | |
workflow_dispatch: # Allow manual trigger only. We have manually controll execution phase | |
pull_request: | |
branches: | |
- master | |
- develop | |
push: | |
branches: | |
- master | |
- develop | |
jobs: | |
unit-test: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
env: | |
COMPOSE_FILE: .github/docker-compose-unit-tests.yml | |
DOCKER_BUILDKIT: 1 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Login to Github Packages | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: PreBuild Omnia images (Used by omnia/tests/e2e/Dockerfile) | |
run: docker build -t ghcr.io/chronicleprotocol/omnia_feed:dev -f omnia/Dockerfile . | |
- name: Run Unit Tests | |
run: docker-compose -f $COMPOSE_FILE run --rm omnia_unit_tests | |
test-e2e: | |
name: E2E tests | |
needs: unit-test | |
runs-on: ubuntu-latest | |
env: | |
COMPOSE_FILE: .github/docker-compose-e2e-tests.yml | |
DOCKER_BUILDKIT: 1 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Login to Github Packages | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: PreBuild Omnia images (Used by omnia/tests/e2e/Dockerfile) | |
run: docker build -t ghcr.io/chronicleprotocol/omnia_feed:dev -f omnia/Dockerfile . | |
- name: Building Omnia e2e image | |
run: docker-compose -f $COMPOSE_FILE build omnia_e2e | |
- name: Running Omnia Feed E2E tests | |
run: docker-compose -f $COMPOSE_FILE run --rm omnia_e2e go test -v -parallel 1 -cpu 1 -p 1 ./feed |