Skip to content

Add upgrade test & enable init test #253

Add upgrade test & enable init test

Add upgrade test & enable init test #253

Workflow file for this run

name: End-to-End Tests
on:
pull_request:
branches: [trunk]
paths-ignore:
- 'docs/**'
- 'README.md'
jobs:
e2e-tests:
name: End-to-End Tests
runs-on: elvia-runner
strategy:
matrix:
command:
- build
- create
- github-actions
- init
- scan
- upgrade
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
cache-dependency-path: 'go.sum'
go-version-file: 'go.mod'
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: 'ghcr.io'
username: ${{ github.actor }}
password: ${{ github.token }}
- name: Install CLI from source
run: make install
- name: 'Run tests for ${{ matrix.command }} command'
run: './tests/${{ matrix.command }}/run_tests.sh'