Skip to content

Commit a3f25d2

Browse files
committed
Score-P is required ...
1 parent d9869ce commit a3f25d2

2 files changed

Lines changed: 25 additions & 28 deletions

File tree

.github/workflows/publish-to-test-pypi.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/unit_tests.yml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ env:
66

77
jobs:
88
build:
9-
runs-on: ubuntu-18.04
9+
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
1212
python: [2.7, 3.5, 3.6, 3.7, 3.8]
@@ -54,3 +54,27 @@ jobs:
5454
- name: Run tests
5555
working-directory: test
5656
run: pytest
57+
58+
publish:
59+
name: Publish Python 🐍 distributions 📦 to TestPyPI
60+
needs: [build]
61+
runs-on: ubuntu-latest
62+
steps:
63+
- uses: actions/checkout@master
64+
- name: Set up Python 3.7
65+
uses: actions/setup-python@v1
66+
with:
67+
python-version: 3.7
68+
- name: Install pypa/build
69+
run: >-
70+
python -m
71+
pip install build --user
72+
- name: Build a binary wheel and a source tarball
73+
run: >-
74+
python -m
75+
build --sdist --outdir dist/ .
76+
- name: Publish distribution 📦 to Test PyPI
77+
uses: pypa/gh-action-pypi-publish@master
78+
with:
79+
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
80+
repository_url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)