Skip to content

Update STJ validator tests #40

Update STJ validator tests

Update STJ validator tests #40

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test-python:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, '3.10']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
cd tools/python/
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Python tests
run: |
# Run from project root but specify test directory
pytest tests/python/
test-javascript:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install dependencies
working-directory: ./tools/javascript
run: npm install
- name: List files for debugging
working-directory: ./tools/javascript
run: |
echo "Current directory: $(pwd)"
ls -R
- name: Run JavaScript tests
working-directory: ./tools/javascript
run: npm test