docs: document gs1 composite core #30
This file contains hidden or 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: Tests | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| - name: Install JavaScript test dependencies | |
| run: npm ci --ignore-scripts | |
| - name: Install Python reference-test dependencies | |
| if: ${{ hashFiles('requirements-test/*.txt') != '' }} | |
| run: | | |
| for requirements in requirements-test/*.txt; do | |
| python -m pip install -r "$requirements" | |
| done | |
| - name: Run unit and structure tests | |
| run: npm test | |
| - name: Run reference tests | |
| run: npm run test:reference |