Skip to content

Merge pull request #162 from clenk/sdo-ext #61

Merge pull request #162 from clenk/sdo-ext

Merge pull request #162 from clenk/sdo-ext #61

# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: cti-stix2-json-schemas test harness
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: Python 3.x Build
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
- name: Set up Python 3.x
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install and update essential dependencies
run: |
pip install -U pip setuptools
pip install stix2-validator
- name: Install npm dependencies
run: |
npm install -g ajv-cli ajv-formats-draft2019 ajv-formats
- name: Test Examples
run: |
./test_examples.sh