This repository has been archived by the owner on Jun 17, 2023. It is now read-only.
Add Integrations section #28
Workflow file for this run
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
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Python application | |
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.9 | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Install dependencies | |
run: | | |
sudo add-apt-repository -y ppa:maxmind/ppa | |
sudo apt-get update | |
sudo apt-get install geoipupdate libsnappy-dev docker | |
python -m pip install --upgrade pip | |
pip install --upgrade "setuptools<46" | |
git clone https://github.com/csirtgadgets/csirtg-indicator-py-v1.git /tmp/csirtg_indicator | |
pip install -r /tmp/csirtg_indicator/requirements.txt | |
pip install /tmp/csirtg_indicator | |
git clone https://github.com/csirtgadgets/csirtg-smrt-v1.git /tmp/csirtg_smrt | |
pip install -r /tmp/csirtg_smrt/requirements.txt | |
pip install /tmp/csirtg_smrt | |
git clone https://github.com/csirtgadgets/cifsdk-py-v3.git /tmp/cifsdk-py-3 | |
pip install -r /tmp/cifsdk-py-3/requirements.txt | |
pip install /tmp/cifsdk-py-3 | |
pip install -r dev_requirements.txt | |
python setup.py develop | |
make test | |
python setup.py sdist |