Skip to content

Fix reflection.cutoff_prune() (#90) #65

Fix reflection.cutoff_prune() (#90)

Fix reflection.cutoff_prune() (#90) #65

Workflow file for this run

name: push-master
on:
push:
branches: ['master']
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: '3.9'
- uses: ./.github/workflows/before-job
- uses: ./.github/workflows/build-job
- uses: actions/upload-artifact@v2
with:
name: dist-master
path: dist
test:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: '3.9'
- uses: ./.github/workflows/before-job
- uses: actions/download-artifact@v2
with:
name: dist-master
- uses: jannekem/run-python-script-action@v1
with:
script: |
import os
import subprocess
fn = [f for f in os.listdir() if f.endswith('whl') and f.startswith('dgpost')][0]
subprocess.run(["pip", "install", f"{fn}[testing]"])
- uses: ./.github/workflows/test-job
pages:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'
- uses: ./.github/workflows/before-job
- uses: actions/download-artifact@v2
with:
name: dist-master
- uses: jannekem/run-python-script-action@v1
with:
script: |
import os
import subprocess
fn = [f for f in os.listdir() if f.endswith('whl') and f.startswith('dgpost')][0]
subprocess.run(["pip", "install", f"{fn}[docs]"])
- uses: ./.github/workflows/docs-job
- uses: actions/upload-artifact@v2
with:
name: public-master
path: public/master
deploy:
needs: [pages]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'
- uses: actions/download-artifact@v2
with:
name: public-master
path: public/master
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
keep_files: true