github
id | seq | job | repo | uses | name | with | run | env | if |
---|---|---|---|---|---|---|---|---|---|
136827 | 1 | 27459 | 197431109 | actions/checkout@v2 | |||||
136828 | 2 | 27459 | 197431109 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | {"python-version": "${{ matrix.python-version }}"} | |||
136829 | 3 | 27459 | 197431109 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136830 | 4 | 27459 | 197431109 | Install dependencies | pip install -e '.[test]' | ||||
136831 | 5 | 27459 | 197431109 | Run tests | pytest -v | ||||
136832 | 1 | 27460 | 197431109 | actions/checkout@v2 | |||||
136833 | 2 | 27460 | 197431109 | actions/setup-python@v2 | Set up Python | {"python-version": "3.8"} | |||
136834 | 3 | 27460 | 197431109 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n"} | |||
136835 | 4 | 27460 | 197431109 | Install dependencies | pip install setuptools wheel twine | ||||
136836 | 5 | 27460 | 197431109 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136837 | 1 | 27461 | 197431109 | actions/checkout@v2 | |||||
136838 | 2 | 27461 | 197431109 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | {"python-version": "${{ matrix.python-version }}"} | |||
136839 | 3 | 27461 | 197431109 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136840 | 4 | 27461 | 197431109 | Install dependencies | pip install -e '.[test]' | ||||
136841 | 5 | 27461 | 197431109 | Run tests | pytest -v |