Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automated test for CAP dissappeared #766

Closed
maaikelimper opened this issue Sep 12, 2024 · 0 comments
Closed

automated test for CAP dissappeared #766

maaikelimper opened this issue Sep 12, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@maaikelimper
Copy link
Collaborator

I just noted that the automated test that I added while working on the CAP integration did not make it to the main-branch

This is the addition I made for PR731:

- name: add CAP data, cap-publish
DISCOVERY_METADATA: /data/wis2box/metadata/discovery/int-wmo-test-cap.yml
DISCOVERY_METADATA_ID: urn:wmo:md:int_wmo_test:cap
run: |
python3 wis2box-ctl.py execute wis2box dataset publish $DISCOVERY_METADATA
curl -s http://localhost/oapi/collections/discovery-metadata/items/$DISCOVERY_METADATA_ID --output /tmp/$DISCOVERY_METADATA_ID
check-jsonschema --schemafile /tmp/wcmp2-bundled.json /tmp/$DISCOVERY_METADATA_ID
python3 tests/send_CAP_as_message.py

This is the current status in main (no CAP test)
https://github.com/wmo-im/wis2box/blob/main/.github/workflows/tests-docker.yml

I will make a new PR to re-add the automated testing for CAP publishing in the wis2box repository

@efucile FYI

@maaikelimper maaikelimper added the bug Something isn't working label Sep 12, 2024
@maaikelimper maaikelimper added this to the sprint-016 milestone Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants