github
id | seq | job | repo | uses | name | with | run | env | if |
---|---|---|---|---|---|---|---|---|---|
138745 | 1 | 27845 | 197882382 | actions/checkout@v2 | |||||
138746 | 2 | 27845 | 197882382 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | { "python-version": "${{ matrix.python-version }}" } |
|||
138747 | 3 | 27845 | 197882382 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138748 | 4 | 27845 | 197882382 | Install dependencies | pip install -e '.[test]' | ||||
138749 | 5 | 27845 | 197882382 | Run tests | pytest | ||||
138750 | 1 | 27846 | 197882382 | actions/checkout@v2 | |||||
138751 | 2 | 27846 | 197882382 | actions/setup-python@v2 | Set up Python | { "python-version": "3.9" } |
|||
138752 | 3 | 27846 | 197882382 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n" } |
|||
138753 | 4 | 27846 | 197882382 | Install dependencies | pip install setuptools wheel twine | ||||
138755 | 1 | 27847 | 197882382 | actions/checkout@v2 | |||||
138756 | 2 | 27847 | 197882382 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | { "python-version": "${{ matrix.python-version }}" } |
|||
138757 | 3 | 27847 | 197882382 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138758 | 4 | 27847 | 197882382 | Install dependencies | pip install -e '.[test]' | ||||
138759 | 5 | 27847 | 197882382 | Run tests | pytest | ||||
138754 | 5 | 27846 | 197882382 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |