File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 5
5
6
6
jobs :
7
7
publish :
8
- name : Deploy Release to PyPI
8
+ name : Deploy release to PyPI
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - name : Checkout source
11
+ - name : Checkout source code
12
12
uses : actions/checkout@v3
13
13
- name : Set up Python
14
14
uses : actions/setup-python@v4
15
15
with :
16
16
python-version : 3.9
17
17
- name : Install dependencies
18
18
run : pip install .
19
+ # [BJ] Shouldn't we run tests here to prevent an easily preventable catastrophe?
20
+ # Or is test.yml being ran when we publish a package?
19
21
- name : Build package
22
+ # [TODO] We need to confirm this produces the same exact result as `python setup.py sdist`
20
23
run : python -m build
21
24
- name : Publish package to PyPI
22
25
27
30
run : |
28
31
rm -rf ./docs/_build
29
32
tox -e docs
30
- - name : Docs Upload
33
+ - name : Upload docs
31
34
uses : actions/upload-artifact@v3
32
35
with :
33
36
name : python_sdk_docs
37
40
# uses: pypa/gh-action-pypi-publish@master
38
41
# with:
39
42
# user: __token__
40
- # password: ${{ secrets.test_pypi_password }}
43
+ # password: ${{ secrets.TEST_PYPI_PASSWORD }}
41
44
# repository_url: https://test.pypi.org/legacy/
Original file line number Diff line number Diff line change 27
27
fail-fast : false
28
28
29
29
steps :
30
- - name : Checkout code
30
+ - name : Checkout source code
31
31
uses : actions/checkout@v3
32
32
- name : Set up .env
33
33
run : cp ./.env.template ./.env
41
41
run : pip install .
42
42
- name : Run test suite
43
43
run : tox -e py
44
-
45
- # fossa-scan:
46
- # uses: splunk/oss-scanning-public/.github/workflows/oss-scan.yml@main
47
- # secrets: inherit
44
+ # [BJ] I'll obviously uncomment this step after I finish fiddling
45
+ # fossa-scan:
46
+ # uses: splunk/oss-scanning-public/.github/workflows/oss-scan.yml@main
47
+ # secrets: inherit
You can’t perform that action at this time.
0 commit comments