A GitHub Action for integrating radon-defuse in GitHub workflows.
Required The id of the model to use for the prediction. The id can be found in th
Required The language of the files to run the prediction on. Can be ansible
or tosca
.
Required The API URL of the backend server.
on: [push]
jobs:
defect_prediction_job:
runs-on: ubuntu-latest
name: Run DEFUSE's model CONDITIONAL for Ansible
steps:
- name: Defect Prediction
id: defect_prediction
uses: radon-h2020/[email protected]
with:
model: 'NEWEKjxoBvRdTopqjjKW'
language: 'ansible'
url: 'https://28d1495a475d.ngrok.io/'