Skip to content

STIX-shifter Connector Package Verification (Kestrel 1) #811

STIX-shifter Connector Package Verification (Kestrel 1)

STIX-shifter Connector Package Verification (Kestrel 1) #811

name: STIX-shifter Connector Package Verification (Kestrel 1)
on:
schedule:
# Run this once per day, towards the end of the day for keeping the most
# recent data point most meaningful (hours are interpreted in UTC).
- cron: "55 02 * * *"
workflow_dispatch: # Allow for running this manually.
jobs:
verify-stixshifter:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: ./packages/kestrel_datasource_stixshifter
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
ref: develop_v1
python-version: '3.10'
- name: Install Python Tools
run: pip install --upgrade pip setuptools wheel
- name: Install kestrel_core
working-directory: ./packages/kestrel_core
run: pip install .
- name: Install kestrel_datasource_stixshifter
run: pip install .[test]
- name: Sample STIX-shifter Connector Package Verification on PyPI
run: pytest -vv tests/test_stixshifter.py -k test_verify_package_origin