github
id | seq | job | repo | uses | name | with | run | env | if |
---|---|---|---|---|---|---|---|---|---|
138784 | 1 | 27854 | 206156866 | actions/checkout@v2 | |||||
138785 | 2 | 27854 | 206156866 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | { "python-version": "${{ matrix.python-version }}" } |
|||
138786 | 3 | 27854 | 206156866 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138787 | 4 | 27854 | 206156866 | Install dependencies | pip install -e '.[test]' | ||||
138788 | 5 | 27854 | 206156866 | Run tests | pytest | ||||
138789 | 1 | 27855 | 206156866 | actions/checkout@v2 | |||||
138790 | 2 | 27855 | 206156866 | actions/setup-python@v2 | Set up Python | { "python-version": "3.9" } |
|||
138791 | 3 | 27855 | 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" } |
|||
138792 | 4 | 27855 | 206156866 | Install dependencies | pip install setuptools wheel twine | ||||
138793 | 5 | 27855 | 206156866 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138794 | 1 | 27856 | 206156866 | actions/checkout@v2 | Check out repo | ||||
138795 | 2 | 27856 | 206156866 | Update TOC | npx markdown-toc README.md -i | ||||
138796 | 3 | 27856 | 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 | ||||
138797 | 1 | 27857 | 206156866 | actions/checkout@v2 | |||||
138798 | 2 | 27857 | 206156866 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | { "python-version": "${{ matrix.python-version }}" } |
|||
138799 | 3 | 27857 | 206156866 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138800 | 4 | 27857 | 206156866 | Install dependencies | pip install -e '.[test]' | ||||
138801 | 5 | 27857 | 206156866 | Run tests | pytest |