Print edition in help outputs #21
Workflow file for this run
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: Sourcemeta Registry CI | |
on: | |
pull_request: | |
concurrency: | |
group: registry-ci-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
edition: | |
- name: community | |
suffix: ce | |
- name: enterprise | |
suffix: ee | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Dependencies | |
- run: pipx install clang-format==19.1.0 | |
- uses: sourcemeta/[email protected] | |
- name: Install Hurl | |
run: | | |
curl --location --remote-name https://github.com/Orange-OpenSource/hurl/releases/download/${{ env.HURL_VERSION }}/hurl_${{ env.HURL_VERSION }}_amd64.deb | |
sudo apt install ./hurl_${{ env.HURL_VERSION }}_amd64.deb | |
rm hurl_${{ env.HURL_VERSION }}_amd64.deb | |
env: | |
HURL_VERSION: 5.0.1 | |
# Linting | |
- run: make configure PRESET=Release INDEX=OFF SERVER=OFF | |
- run: make lint PRESET=Release | |
# Testing | |
- run: make test-schemas PRESET=Release | |
- run: docker build --tag registry . --file Dockerfile.${{ matrix.edition.suffix }} --progress plain | |
- run: docker compose build | |
- run: docker compose up --detach --wait | |
- run: make test-e2e-common PRESET=Release | |
- run: make test-e2e-${{ matrix.edition.suffix }} PRESET=Release | |
- run: docker compose down |