github
id | seq | job | repo | uses | name | with | run | env | if |
---|---|---|---|---|---|---|---|---|---|
136958 | 1 | 27486 | 206156866 | actions/checkout@v2 | |||||
136959 | 2 | 27486 | 206156866 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | {"python-version": "${{ matrix.python-version }}"} | |||
136960 | 3 | 27486 | 206156866 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136961 | 4 | 27486 | 206156866 | Install dependencies | pip install -e '.[test]' | ||||
136962 | 5 | 27486 | 206156866 | Run tests | pytest | ||||
136955 | 1 | 27485 | 206156866 | actions/checkout@v2 | Check out repo | ||||
136956 | 2 | 27485 | 206156866 | Update TOC | npx markdown-toc README.md -i | ||||
136957 | 3 | 27485 | 206156866 | Commit and push if README changed | git diff git config --global user.email "readme-bot@example.com" git config --global user.name "README-bot" git diff --quiet || (git add README.md && git commit -m "Updated README") git push | ||||
136950 | 1 | 27484 | 206156866 | actions/checkout@v2 | |||||
136951 | 2 | 27484 | 206156866 | actions/setup-python@v2 | Set up Python | {"python-version": "3.9"} | |||
136952 | 3 | 27484 | 206156866 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n"} | |||
136953 | 4 | 27484 | 206156866 | Install dependencies | pip install setuptools wheel twine | ||||
136954 | 5 | 27484 | 206156866 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136945 | 1 | 27483 | 206156866 | actions/checkout@v2 | |||||
136946 | 2 | 27483 | 206156866 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | {"python-version": "${{ matrix.python-version }}"} | |||
136947 | 3 | 27483 | 206156866 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136948 | 4 | 27483 | 206156866 | Install dependencies | pip install -e '.[test]' | ||||
136949 | 5 | 27483 | 206156866 | Run tests | pytest |