Skip to content

Fixed a few bugs in the gradle setup for rfs (#736) #8

Fixed a few bugs in the gradle setup for rfs (#736)

Fixed a few bugs in the gradle setup for rfs (#736) #8

name: Console Library Tests
on:
push:
paths:
- 'TrafficCapture/dockerSolution/src/main/docker/migrationConsole/**'
pull_request:
paths:
- 'TrafficCapture/dockerSolution/src/main/docker/migrationConsole/**'
jobs:
console-library-tests:
strategy:
matrix:
python-version: ['3.10']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: ./TrafficCapture/dockerSolution/src/main/docker/migrationConsole/lib/console_link
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies for Console Library and Tests
run: |
python -m pip install . -r ./tests/requirements.txt
- name: Run Tests
run: |
python -m coverage run -m pytest
- name: Generate XML Coverage Report
run: |
python -m coverage xml
- name: Upload Coverage Report
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml