Skip to content

Merge pull request #5 from CSC-510-G55/feature-bhushan1 #7

Merge pull request #5 from CSC-510-G55/feature-bhushan1

Merge pull request #5 from CSC-510-G55/feature-bhushan1 #7

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