Skip to content

Merge pull request #164 from clenk/stix2.1 #65

Merge pull request #164 from clenk/stix2.1

Merge pull request #164 from clenk/stix2.1 #65

# 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