Fix broken metadata in explorer #119
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 EDITION=${{ matrix.edition.suffix }} | |
- run: make lint PRESET=Release EDITION=${{ matrix.edition.suffix }} | |
# Testing | |
- run: make test-schemas PRESET=Release EDITION=${{ matrix.edition.suffix }} | |
- run: docker build --tag registry-${{ matrix.edition.suffix }} . --file Dockerfile.${{ matrix.edition.suffix }} --progress plain | |
- run: docker compose --file test/sandbox/compose-${{ matrix.edition.suffix }}.yaml build | |
- run: docker compose --file test/sandbox/compose-${{ matrix.edition.suffix }}.yaml up --detach --wait | |
- run: make test-e2e PRESET=Release EDITION=${{ matrix.edition.suffix }} | |
- run: docker compose --file test/sandbox/compose-${{ matrix.edition.suffix }}.yaml down |