github
id | seq | job | repo | uses | name | with | run | env | if |
---|---|---|---|---|---|---|---|---|---|
102618 | 1 | 20642 | 303218369 | actions/checkout@v2 | |||||
102619 | 2 | 20642 | 303218369 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | {"python-version": "${{ matrix.python-version }}"} | |||
102620 | 3 | 20642 | 303218369 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
102621 | 4 | 20642 | 303218369 | Install dependencies | pip install -e '.[test]' | ||||
102622 | 5 | 20642 | 303218369 | Run tests | pytest | ||||
102623 | 1 | 20643 | 303218369 | actions/checkout@v2 | |||||
102624 | 2 | 20643 | 303218369 | actions/setup-python@v2 | Set up Python | {"python-version": "3.9"} | |||
102625 | 3 | 20643 | 303218369 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n"} | |||
102626 | 4 | 20643 | 303218369 | Install dependencies | pip install setuptools wheel twine | ||||
102627 | 5 | 20643 | 303218369 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
102628 | 1 | 20644 | 303218369 | actions/checkout@v2 | |||||
102629 | 2 | 20644 | 303218369 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | {"python-version": "${{ matrix.python-version }}"} | |||
102630 | 3 | 20644 | 303218369 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
102631 | 4 | 20644 | 303218369 | Install dependencies | pip install -e '.[test]' | ||||
102632 | 5 | 20644 | 303218369 | Run tests | pytest |