Skip to content

feat(.github/workflows): ignore <producer>/README.rst #13

feat(.github/workflows): ignore <producer>/README.rst

feat(.github/workflows): ignore <producer>/README.rst #13

Workflow file for this run

name: message-queue python CI

Check failure on line 1 in .github/workflows/mq-python.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/mq-python.yaml

Invalid workflow file

you may only define one of `paths` and `paths-ignore` for a single event
on:
push:
paths:
- "message-queue/python/**"
- "message-queue/container/base-debian/**"
- ".github/workflows/mq-python.yaml"
- ".github/actions/build-image/**"
paths-ignore:
- "message-queue/python/README.rst"
concurrency:
# Automatically cancel workflows if newer workflow started for the same
# branch
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-base-debian:
if: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: "./.github/actions/build-image"
with:
image: base-debian
dir: message-queue
registry: ghcr.io/${{ github.repository_owner }}
registry_user: ${{ github.actor }}
registry_pass: ${{ secrets.GITHUB_TOKEN }}
build-postgres:
if: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: "./.github/actions/build-image"
with:
image: postgres
dir: message-queue
registry: ghcr.io/${{ github.repository_owner }}
registry_user: ${{ github.actor }}
registry_pass: ${{ secrets.GITHUB_TOKEN }}
build-producer-python-dev:
if: true
needs: build-base-debian
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: "./.github/actions/build-image"
with:
image: producer-python-dev
dir: message-queue
registry: ghcr.io/${{ github.repository_owner }}
registry_user: ${{ github.actor }}
registry_pass: ${{ secrets.GITHUB_TOKEN }}
base: base-debian
build-producer-python:
if: true
needs: build-producer-python-dev
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: "./.github/actions/build-image"
with:
image: producer-python
dir: message-queue
registry: ghcr.io/${{ github.repository_owner }}
registry_user: ${{ github.actor }}
registry_pass: ${{ secrets.GITHUB_TOKEN }}
base: producer-python-dev
test-producer-python:
if: true
needs:
- build-producer-python
- build-postgres
uses: ./.github/workflows/mq-run-test.yaml
with:
name: python
secrets: inherit