Skip to content

Refactor setup-env action and streamline test workflows #423

Refactor setup-env action and streamline test workflows

Refactor setup-env action and streamline test workflows #423

Workflow file for this run

name: tests
on:
push:
paths-ignore:
- '**.md'
- 'docs/**'
- '.gitignore'
jobs:
unit-tests:
name: unit-tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go and system deps
uses: ./.github/actions/setup-env
- name: Run unit tests
run: go test $(go list ./... | grep -v '/tests') -v
integration-tests:
name: integration-tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go and system deps
uses: ./.github/actions/setup-env
- name: Run integration tests
run: go test -v ./tests/integration/...
system-tests:
name: system-tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go and system deps
uses: ./.github/actions/setup-env
- name: Install Lumera
run: make install-lumera
- name: Setup Supernode environments
run: make setup-supernodes
- name: Run system tests
run: test-e2e