Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions .github/workflows/sdist.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: sdist

on:
push:
branches:
- master
tags:
- "v*"
pull_request:
branches:
- master

jobs:
sdist:
name: ${{ matrix.python-version }}
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
python-version:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Fetch all history for all tags and branches

- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: python -m pip install --upgrade pip setuptools wheel twine

- name: Build sdist
run: |
python setup.py sdist bdist_wheel
twine check --strict dist/*
ls -l dist

- name: Install from sdist
run: |
pip list
python -m pip install dist/*.gz

- name: Import flowlauncher
run: |
python -V
python -c "from flowlauncher import __version__; print(__version__);"
python -c "import pprint; from flowlauncher._version import get_versions; pprint.pprint(get_versions());"
conda info
conda list

- name: Publish to TestPyPI
if: ${{ github.event_name == 'push' }}
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
verbose: true
skip_existing: true
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Flow.Launcher.JsonRPC.Python

[![Build Status](https://img.shields.io/travis/Zeroto521/Flow.Launcher.JsonRPC.Python/master?style=for-the-badge)](https://travis-ci.org/Zeroto521/Flow.Launcher.JsonRPC.Python)
[![](https://img.shields.io/pypi/v/flowlauncher.svg?style=for-the-badge)](https://pypi.org/project/flowlauncher/)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/flowlauncher?style=for-the-badge)](https://pypi.org/project/flowlauncher/)

Expand Down
1 change: 0 additions & 1 deletion requirements-dev.txt

This file was deleted.

2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",

"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
Expand Down
3 changes: 0 additions & 3 deletions test.sh

This file was deleted.