mirror of
https://staging.allspice.dev/AllSpice-Demos/Actions-demo.git
synced 2025-04-24 09:13:21 +00:00
Remove wip file
This commit is contained in:
parent
4b946d5452
commit
cc8b11c1a6
@ -1,48 +0,0 @@
|
||||
|
||||
# Py-allspice documentation workflow
|
||||
# py-allspice https://github.com/AllSpiceIO/py-allspice
|
||||
# AllSpice Actions documentation: https://learn.allspice.io/docs/actions-cicd
|
||||
|
||||
name: Py-allspice documentation
|
||||
on:
|
||||
push:
|
||||
issues:
|
||||
types: [opened, closed, reopened]
|
||||
|
||||
jobs:
|
||||
Py-allspice documentation:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get repository owner
|
||||
id: get_owner
|
||||
run: echo "::set-output name=owner::$(echo ${{ allspice.repository }} | cut -d'/' -f1)"
|
||||
|
||||
- name: Get repository name
|
||||
id: get_repo
|
||||
run: echo "::set-output name=repo::$(echo ${{ allspice.repository }} | cut -d'/' -f2)"
|
||||
|
||||
|
||||
# Check out repository code
|
||||
- name: "[📚->🖥️] Check out repository code"
|
||||
uses: actions/checkout@v3
|
||||
|
||||
# Installs python requirements from the requirements.txt file
|
||||
- name: "[🤼->🖥️] Install python requirements"
|
||||
run: pip install -r .allspice/utils/requirements.txt
|
||||
|
||||
# Run the py-allspice self-test script, this will ping the server and verify the API is working
|
||||
# Parameters: ${allspice.server_url} and ${allspice.token} are automatic Workflow variables and are used to authenticate the AllSpice API
|
||||
- name: "[🔑->🕸️] Run py-allspice-documentation.py"
|
||||
run: python .allspice/utils/py-allspice-documentation.py --allspice_hub_url ${{ allspice.server_url }} --allspice_token ${{ allspice.token }}
|
||||
|
||||
# Print the documentation file to the terminal
|
||||
- name: Show repository attributes 🔎
|
||||
run: cat repo_attributes.json
|
||||
|
||||
# Archive the netlist file as an artifact file
|
||||
- name: Archive code coverage results
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: repo_attributes.json
|
||||
path: repo_attributes.json
|
||||
|
Loading…
Reference in New Issue
Block a user