aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-08-10 18:00:58 +0200
committerYann Herklotz <git@yannherklotz.com>2020-08-10 18:00:58 +0200
commit6162d603f9638a678cc4cc227f41169d4fdc5869 (patch)
tree4cebcaff1a203e36fe83ed479f077af2a82d9d45 /.github
parent4b433258deffec9207451fb30e4103462c704781 (diff)
downloadvericert-6162d603f9638a678cc4cc227f41169d4fdc5869.tar.gz
vericert-6162d603f9638a678cc4cc227f41169d4fdc5869.zip
Add badge for admitted proofs
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/admitted.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/admitted.yml b/.github/workflows/admitted.yml
new file mode 100644
index 0000000..7463a10
--- /dev/null
+++ b/.github/workflows/admitted.yml
@@ -0,0 +1,32 @@
+# This is a basic workflow to help you get started with Actions
+
+name: Admitted Icon
+
+# Controls when the action will run. Triggers the workflow on push or pull request
+# events but only for the master branch
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+# A workflow run is made up of one or more jobs that can run sequentially or in parallel
+jobs:
+ # This workflow contains a single job called "build"
+ build:
+ # The type of runner that the job will run on
+ runs-on: ubuntu-latest
+
+ # Steps represent a sequence of tasks that will be executed as part of the job
+ steps:
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
+ - uses: actions/checkout@v2
+
+ # Runs a single command using the runners shell
+ - name: Generate Admitted icon
+ run: python3 scripts/statistics.py src
+
+ - uses: actions/upload-artifact@v2
+ with:
+ name: admitted-icon
+ path: admitted.svg