Skip to content

Bump pypa/gh-action-pypi-publish from 1.6.4 to 1.8.6 #139

Bump pypa/gh-action-pypi-publish from 1.6.4 to 1.8.6

Bump pypa/gh-action-pypi-publish from 1.6.4 to 1.8.6 #139

Workflow file for this run

name: Pull Request Builder
on:
pull_request:
branches:
- main
tags:
- "!*"
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version:
- 3.8
- 3.9
- "3.10"
- 3.11
steps:
- uses: actions/[email protected]
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: "${{ matrix.python-version }}"
- name: Run tox
run: |
python -m pip install --upgrade pip
pip install tox
tox -e py
- uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
name: pysolcast
verbose: true
deploy:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Fetch history and tags
run: |
git fetch --prune --unshallow
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- uses: actions/[email protected]
with:
python-version: 3.x
- name: Build
run: |
python -m pip install --upgrade pip
pip install build
python -m build
- name: Publish distribution 📦 to Test PyPI
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.test_pypi_password }}
repository_url: https://test.pypi.org/legacy/
skip_existing: true