Skip to content

Commit

Permalink
Merge branch 'main' of github.com:strfx/clava into main
Browse files Browse the repository at this point in the history
  • Loading branch information
strfx committed Aug 31, 2021
2 parents 91244e9 + b43fa5c commit 2f38aee
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 3 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# 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: build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
make init
pip install .[dev]
- name: Run static type checking with mypy
run: |
make lint
- name: Test with pytest
run: |
make tests
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@
</h1>

<h4 align="center">Generate Code-Based <a href="https://virustotal.github.io/yara/" target="_blank">Yara</a> Rules using Machine Learning.</h4>
<p align="center">
<a href="https://www.python.org/" target="_blank">
<img src="/https://img.shields.io/badge/Made%20with-Python-yellow" />
<p align="center">
<a href="https://github.com/strfx/clava/actions" target="_blank">
<img src="/https://img.shields.io/github/workflow/status/strfx/clava/build" />
</a>
<a href="https://github.com/strfx/clava/blob/main/LICENSE" target="_blank">
<img src="https://img.shields.io/badge/License-MIT-blue.svg" />
</a>
<a href="http://mypy-lang.org/" target="_blank">
<img src="http://www.mypy-lang.org/static/mypy_badge.svg" />
</a>
</p>

<p align="center">
Expand Down

0 comments on commit 2f38aee

Please sign in to comment.