Another emergency push to release
This commit is contained in:
parent
129b540d36
commit
19ddd40134
|
|
@ -0,0 +1,31 @@
|
|||
# This workflow will install Python dependencies, and deploy the application to GitHub Pages.
|
||||
|
||||
name: Python application
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main, release ]
|
||||
pull_request:
|
||||
branches: [ main, release ]
|
||||
|
||||
jobs:
|
||||
deployment:
|
||||
runs-on: ubuntu-latest
|
||||
environment: production
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python 3.10
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.10"
|
||||
- name: Build the application
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
pip install -e .
|
||||
python -m bootstraparse "example_userfiles" "docs"
|
||||
- name: deploy
|
||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
||||
with:
|
||||
branch: gh-pages # The branch the action should deploy to.
|
||||
folder: docs
|
||||
|
|
@ -40,23 +40,3 @@ jobs:
|
|||
- name: Test with pytest
|
||||
run: |
|
||||
pytest --cov-fail-under=100 -o xfail_strict=true --cov-report=term-missing .
|
||||
deployment:
|
||||
runs-on: ubuntu-latest
|
||||
environment: production
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python 3.10
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.10"
|
||||
- name: Build the application
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
pip install -e .
|
||||
python -m bootstraparse "example_userfiles" "docs"
|
||||
- name: deploy
|
||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
||||
with:
|
||||
branch: gh-pages # The branch the action should deploy to.
|
||||
folder: docs
|
||||
|
|
|
|||
|
|
@ -5,7 +5,10 @@ bootstraparse aims to be customisable in that regard, but its first iteration an
|
|||
|
||||
You can refer to the `example_userfiles` for an idea of what the parser expects you to feed it and find an example of our automated generation at https://idle-org.github.io/bootstraparse/ for this particular folder. Or you can run the program yourself for the same result!
|
||||
|
||||
[](https://github.com/idle-org/bootstraparse/actions/workflows/python-app.yml)
|
||||
- Main
|
||||
- [](https://github.com/idle-org/bootstraparse/actions/workflows/python-app.yml)
|
||||
- Releases
|
||||
- [](https://github.com/idle-org/bootstraparse/actions/workflows/python-app.yml)
|
||||
|
||||
---
|
||||
## Roadmap
|
||||
|
|
|
|||
Loading…
Reference in New Issue