github
id | seq | job | repo | uses | name | with | run | env | if |
---|---|---|---|---|---|---|---|---|---|
138730 | 1 | 27842 | 248903544 | actions/checkout@v2 | |||||
138731 | 2 | 27842 | 248903544 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | { "python-version": "${{ matrix.python-version }}" } |
|||
138732 | 3 | 27842 | 248903544 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138733 | 4 | 27842 | 248903544 | Install dependencies | pip install -e '.[test]' | ||||
138734 | 5 | 27842 | 248903544 | Run tests | pytest | ||||
138735 | 1 | 27843 | 248903544 | actions/checkout@v2 | |||||
138736 | 2 | 27843 | 248903544 | actions/setup-python@v2 | Set up Python | { "python-version": "3.9" } |
|||
138737 | 3 | 27843 | 248903544 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n" } |
|||
138738 | 4 | 27843 | 248903544 | Install dependencies | pip install setuptools wheel twine | ||||
138739 | 5 | 27843 | 248903544 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138740 | 1 | 27844 | 248903544 | actions/checkout@v2 | |||||
138741 | 2 | 27844 | 248903544 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | { "python-version": "${{ matrix.python-version }}" } |
|||
138742 | 3 | 27844 | 248903544 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138743 | 4 | 27844 | 248903544 | Install dependencies | pip install -e '.[test]' | ||||
138744 | 5 | 27844 | 248903544 | Run tests | pytest |