Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
backend-skipped-checks.yml 1.53 KiB
# Required checks with path filtering rules will block pull requests from merging if they change only the excluded files.
# This is a workaround to allow the PR to be merged.
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
name: Backend

on:
  push:
    branches:
      - 'master'
      - 'release-**'
    paths:
      - "docs/**"
      - "**.md"
      # frontend and E2E tests
      - "**/frontend/test/**"
      - "**/frontend/**.unit.*"
  pull_request:
    paths:
      - "docs/**"
      - "**.md"
      # frontend and E2E tests
      - "**/frontend/test/**"
      - "**/frontend/**.unit.*"

jobs:

  be-linter-clj-kondo:
    runs-on: ubuntu-20.04
    timeout-minutes: 10
    steps:
      - run: |
          echo "Didn't run due to conditional filtering"

  be-linter-eastwood:
    runs-on: ubuntu-20.04
    timeout-minutes: 20
    steps:
      - run: |
          echo "Didn't run due to conditional filtering"

  be-linter-namespace-decls:
    runs-on: ubuntu-20.04
    timeout-minutes: 10
    steps:
      - run: |
          echo "Didn't run due to conditional filtering"

  be-tests:
    runs-on: ubuntu-20.04
    name: be-tests-java-${{ matrix.java-version }}-${{ matrix.edition }}
    timeout-minutes: 20
    strategy:
      fail-fast: false
      matrix:
        edition: [oss, ee]
        java-version: [11, 17]
    steps:
      - run: |
          echo "Didn't run due to conditional filtering"