Skip to content

Workflow file for this run

name: Test
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]"
pull_request:
types:
- opened
- synchronize
- reopened
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
environment: ["python-39", "python-310", "python-311", "python-312", "python-313"]
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
steps:
- name: checkout
uses: actions/checkout@v3
with: { submodules: recursive }
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.39.5
- name: doctest
shell: pixi run bash -e {0}
run: pixi run -e ${{ matrix.environment }} doctest
- name: test building packages
<<<<<<< HEAD

Check failure on line 34 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 34
shell: pixi run bash -e {0}
run: pixi run -e dev convert
- name: validate packages
shell: pixi run bash -e {0}
run: pixi run -e dev validate
=======
shell: bash -l {0}
run: |
cd data
make
- name: Validate Data Package Metdata
shell: bash -l {0}
run: |
check-jsonschema --schemafile https://raw.githubusercontent.com/echemdb/metadata-schema/main/schemas/echemdb_package.json --no-cache $(find ./data/generated/ -type f -name "*.json")
>>>>>>> package_validation