1.2.1: fix some heading so that the links work. Schema-salad doesn't … #511
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
# This is a basic workflow to help you get started with Actions | |
name: CI | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push or pull request events but only for the main branch | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main, 1.2.1_proposed ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8.x' | |
- name: Setup prerequirements | |
run: pip install cwltest 'schema-salad[pycodegen]' | |
- name: Download schema for conformance_tests.yaml | |
run: curl -LO https://raw.githubusercontent.com/common-workflow-language/cwltest/main/cwltest/cwltest-schema.yml | |
- name: Validate conformance_tests.yaml | |
run: schema-salad-tool cwltest-schema.yml conformance_tests.yaml | |
- name: Validate CWL documents | |
run: ./run_test.sh --self | |
validate_json: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8.x' | |
- name: Validate JSON schema document | |
run: | | |
pip install -r ./requirements-jsonschema-test.txt | |
pytest tests/json_schema |