fix: skip e2e test for mcr publish pipeline (#699) #198
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: 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 |