STIX-shifter Connector Package Verification (Kestrel 1) #869
This file contains 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: 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: | |
working-directory: ./packages/kestrel_datasource_stixshifter | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: develop_v1 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
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 |