github
id | seq | job | repo | uses | name | with | run | env | if |
---|---|---|---|---|---|---|---|---|---|
138666 | 1 | 27830 | 197431109 | actions/checkout@v2 | |||||
138667 | 2 | 27830 | 197431109 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | { "python-version": "${{ matrix.python-version }}" } |
|||
138668 | 3 | 27830 | 197431109 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138669 | 4 | 27830 | 197431109 | Install dependencies | pip install -e '.[test]' | ||||
138670 | 5 | 27830 | 197431109 | Run tests | pytest -v | ||||
138671 | 1 | 27831 | 197431109 | actions/checkout@v2 | |||||
138672 | 2 | 27831 | 197431109 | actions/setup-python@v2 | Set up Python | { "python-version": "3.8" } |
|||
138673 | 3 | 27831 | 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" } |
|||
138674 | 4 | 27831 | 197431109 | Install dependencies | pip install setuptools wheel twine | ||||
138675 | 5 | 27831 | 197431109 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138676 | 1 | 27832 | 197431109 | actions/checkout@v2 | |||||
138677 | 2 | 27832 | 197431109 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | { "python-version": "${{ matrix.python-version }}" } |
|||
138678 | 3 | 27832 | 197431109 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138679 | 4 | 27832 | 197431109 | Install dependencies | pip install -e '.[test]' | ||||
138680 | 5 | 27832 | 197431109 | Run tests | pytest -v |