You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This script copies contents of /dev/www to dev.scottplot.net (hosted by GitHub Pages)
on:
workflow_dispatch:
push: # only runs on commits to main branch (typically after a merge)
branches:
- main
paths:
- "dev/www/**"
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
publish:
name: Deploy
runs-on: ubuntu-latest
environment:
name: Cookbook
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: 🛒 Checkout
uses: actions/checkout@v3
- name: 🛠️ Configure Pages
uses: actions/configure-pages@v2
- name: 📦 Upload Artifact
uses: actions/upload-pages-artifact@v1
with:
path: "./dev/www"
- name: 🚀 Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
It would be interesting to have the CI system generate basic code analysis statistics and update a page on that website. I would be interested to know the total lines of code (separated by ScottPlot 4 and ScottPlot 5) and perhaps cyclomatic complexity by class or namespace would be useful too.
It looks like official packages can be used to evaluate code metrics
There exists a GitHub Action which uploads files to the ScottPlot developer site http://dev.scottplot.net hosted by GitHub Pages
ScottPlot/.github/workflows/devsite.yaml
Lines 1 to 40 in 7300d88
It would be interesting to have the CI system generate basic code analysis statistics and update a page on that website. I would be interested to know the total lines of code (separated by ScottPlot 4 and ScottPlot 5) and perhaps cyclomatic complexity by class or namespace would be useful too.
It looks like official packages can be used to evaluate code metrics
Rabbit Hole
Generate Code Analysis Metrics from the Command Line
Note: this may not work on multi-target csproj files
multi-targeted projects must specify a framework:
indicate private assets to avoid the package from being included in NuGet packages
The text was updated successfully, but these errors were encountered: