Adding artifact upload support for builds
- Including both bdist_wheel and sdist - Adding pandoc dependencies
This commit is contained in:
9
.github/workflows/packagingtest.yml
vendored
9
.github/workflows/packagingtest.yml
vendored
@@ -17,6 +17,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: r-lib/actions/setup-pandoc@v1
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
@@ -38,3 +39,11 @@ jobs:
|
||||
run: |
|
||||
pip install pytest
|
||||
pytest
|
||||
- name: Packaging
|
||||
run: |
|
||||
python setup.py bdist_wheel
|
||||
python setup.py sdist
|
||||
- uses: actions/upload-artifact@v1.0.0
|
||||
with:
|
||||
name: package_dist
|
||||
path: dist
|
||||
|
||||
Reference in New Issue
Block a user