Skip to content

Merge pull request #6 from CSC-510-G55/feature-pytest #11

Merge pull request #6 from CSC-510-G55/feature-pytest

Merge pull request #6 from CSC-510-G55/feature-pytest #11

Workflow file for this run

name: Radon
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
radon:
name: Radon
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Environment
run: |
chmod +x ./.github/workflows/setup.sh && ./.github/workflows/setup.sh
pip install radon
- name: Run Radon
run: |
output=$(radon cc hw2_debugging.py rand.py -s)
echo "$output" > radon.txt
echo "::notice title=Radon::$output"
- name: Radon report
uses: actions/upload-artifact@v4
with:
name: radon-report
path: radon.txt