Skip to content

Amilan/test

Amilan/test #39

name: VI Analyzer Tests
on:
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
run-vi-analyzer:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
# Authenticate to GitHub Container Registry
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GHCR_PAT }}
- name: Pull Docker Image from GHCR
run: docker pull ghcr.io/shivacode-2/lv2025linux:latest
- name: Run VI Analyzer Tests
run: |
docker run --rm \
-v "${{ github.workspace }}:/workspace" \
ghcr.io/shivacode-2/lv2025linux:latest \
bash -c "cd /workspace && chmod +x runlabview.sh && ./runlabview.sh"