Skip to content

Commit

Permalink
update configs
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanvg committed Jan 14, 2021
1 parent b77e160 commit 0b2af0a
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 8 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/python-ci-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: cti-documentation test harness
on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

name: Python 3.x Build
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install and update essential dependencies
run: |
pip install -U pip setuptools
pip install stix2-validator
- name: Validate Examples
run: |
./validate-examples.sh
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exclude: >
)$
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.2.1-1
rev: v3.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand Down
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

0 comments on commit 0b2af0a

Please sign in to comment.