able to set point size #208
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a basic workflow to help you get started with Actions | |
name: pre-merge | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push or pull request events but only for the "master" branch | |
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" | |
api-test: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-20.04 | |
# 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@v3 | |
with: | |
fetch-depth: 1 | |
ref: ${{ github.event.pull_request.head.ref }} | |
- name: install deps | |
run: | | |
python3 -m pip install --upgrade pip | |
python3 -m pip install jupyterlab sympy pillow scipy | |
- name: install py3d | |
run: python3 -m pip install -e . | |
- name: test | |
run: python3 test.py -d docs | |
- name: commit docs | |
run: | | |
git config user.email "hh11698@163.com" | |
git config user.name "Tumiz" | |
git add docs README.md | |
git commit -m "update docs" | |
git push | |
- name: label | |
uses: actions/labeler@v4 | |
- name: Install pypa/build | |
run: >- | |
python3 -m | |
pip install | |
build | |
--user | |
- name: Build a binary wheel and a source tarball | |
run: >- | |
python3 -m | |
build | |
--sdist | |
--wheel | |
--outdir dist/ | |
. | |
- name: Publish distribution to PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
password: ${{ secrets.PYPI }} | |
- name: Merge pull requests (automerge-action) | |
uses: pascalgn/automerge-action@v0.15.6 | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
MERGE_LABELS: "automerge,!work in progress" | |
MERGE_METHOD: "squash" | |
MERGE_COMMIT_MESSAGE: "pull-request-title" |