Skip to content

Commit

Permalink
updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alkidbaci committed Feb 20, 2025
1 parent e01f77f commit 40da6a9
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/ai_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,27 @@ on:
jobs:
codacy-analysis-cli:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.10.13" ]
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install scikit-learn
- name: Run Tests and Generate Coverage Report
run: |
wget https://files.dice-research.org/projects/Ontolearn/KGs.zip
unzip KGs.zip
pip install pytest pytest-cov
pytest --cov=my_project --cov-report=xml # Generates coverage.xml
pytest --cov=tests --cov-report=xml # Generates coverage.xml
- name: Run Codacy Analysis CLI
uses: codacy/codacy-analysis-cli-action@master
Expand Down

0 comments on commit 40da6a9

Please sign in to comment.