Skip to content

fix: skip e2e test for mcr publish pipeline #197

fix: skip e2e test for mcr publish pipeline

fix: skip e2e test for mcr publish pipeline #197

name: unit-tests-ragengine
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
on:
push:
branches: [main]
paths-ignore: ["docs/**", "**.md", "**.mdx", "**.png", "**.jpg"]
pull_request:
branches: [main, release-**]
paths-ignore: ["docs/**", "**.md", "**.mdx", "**.png", "**.jpg"]
permissions:
contents: read
packages: write
env:
GO_VERSION: "1.22"
jobs:
unit-tests:
runs-on: ubuntu-latest
environment: unit-tests
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- name: Check out the code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: true
fetch-depth: 0
- name: Run unit tests
run: |
make rag-service-test