You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This workflow will upload a Python Package using Twine when a release is created
2
+
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3
+
4
+
# This workflow uses actions that are not certified by GitHub.
5
+
# They are provided by a third-party and are governed by
6
+
# separate terms of service, privacy policy, and support
# This workflow will upload a Python Package using Twine when a release is created
2
+
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3
+
4
+
# This workflow uses actions that are not certified by GitHub.
5
+
# They are provided by a third-party and are governed by
6
+
# separate terms of service, privacy policy, and support
7
+
# documentation.
8
+
9
+
name: Upload Python Package MacOs
10
+
11
+
on:
12
+
release:
13
+
types: [published]
14
+
15
+
permissions:
16
+
contents: read
17
+
18
+
jobs:
19
+
deploy:
20
+
21
+
runs-on: macos-11
22
+
23
+
strategy:
24
+
matrix:
25
+
python-version: ["3.7", "3.8", "3.9", "3.10"]
26
+
27
+
steps:
28
+
- uses: actions/checkout@v3
29
+
- name: Set up Python
30
+
uses: actions/setup-python@v3
31
+
with:
32
+
python-version: "${{ matrix.python-version }}"
33
+
- name: Run tests
34
+
run: |
35
+
pip install .
36
+
pip install -r requirements-dev.txt
37
+
py.test
38
+
- name: Install dependencies
39
+
run: |
40
+
python -m pip install --upgrade pip
41
+
python -m pip install wheel twine
42
+
- name: "Build package for python ${{ matrix.python-version }}"
# This workflow will upload a Python Package using Twine when a release is created
2
+
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3
+
4
+
# This workflow uses actions that are not certified by GitHub.
5
+
# They are provided by a third-party and are governed by
6
+
# separate terms of service, privacy policy, and support
7
+
# documentation.
8
+
9
+
name: Upload Python Package Windows
10
+
11
+
on:
12
+
release:
13
+
types: [published]
14
+
15
+
permissions:
16
+
contents: read
17
+
18
+
jobs:
19
+
deploy:
20
+
21
+
runs-on: windows-2022
22
+
23
+
strategy:
24
+
matrix:
25
+
python-version: ["3.7", "3.8", "3.9", "3.10"]
26
+
27
+
steps:
28
+
- uses: actions/checkout@v3
29
+
- name: Set up Python
30
+
uses: actions/setup-python@v3
31
+
with:
32
+
python-version: "${{ matrix.python-version }}"
33
+
- name: Run tests
34
+
run: |
35
+
pip install .
36
+
pip install -r requirements-dev.txt
37
+
py.test
38
+
- name: Install dependencies
39
+
run: |
40
+
python -m pip install --upgrade pip
41
+
python -m pip install wheel twine
42
+
- name: "Build package for python ${{ matrix.python-version }}"
0 commit comments