Skip to content

Merge pull request #21 from mghosh00/java-package #263

Merge pull request #21 from mghosh00/java-package

Merge pull request #21 from mghosh00/java-package #263

Workflow file for this run

name: Coverage
on:
push:
branches: [ "master", "java-package" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install pyNeuralNetwork/.
python -m pip install coverage codecov
- name: Run coverage
run: |
coverage run pyNeuralNetwork/run_tests.py --unit
- name: codecov
if: success()
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
codecov
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: mghosh00/NeuralNetwork
files: coverage.xml