github
id | seq | job | repo | uses | name | with | run | env | if |
---|---|---|---|---|---|---|---|---|---|
138686 | 1 | 27834 | 303218369 | actions/checkout@v2 | |||||
138687 | 2 | 27834 | 303218369 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | { "python-version": "${{ matrix.python-version }}" } |
|||
138688 | 3 | 27834 | 303218369 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138689 | 4 | 27834 | 303218369 | Install dependencies | pip install -e '.[test]' | ||||
138690 | 5 | 27834 | 303218369 | Run tests | pytest | ||||
138691 | 1 | 27835 | 303218369 | actions/checkout@v2 | |||||
138692 | 2 | 27835 | 303218369 | actions/setup-python@v2 | Set up Python | { "python-version": "3.9" } |
|||
138693 | 3 | 27835 | 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" } |
|||
138694 | 4 | 27835 | 303218369 | Install dependencies | pip install setuptools wheel twine | ||||
138695 | 5 | 27835 | 303218369 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138696 | 1 | 27836 | 303218369 | actions/checkout@v2 | |||||
138697 | 2 | 27836 | 303218369 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | { "python-version": "${{ matrix.python-version }}" } |
|||
138698 | 3 | 27836 | 303218369 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138699 | 4 | 27836 | 303218369 | Install dependencies | pip install -e '.[test]' | ||||
138700 | 5 | 27836 | 303218369 | Run tests | pytest |