1
0
Fork 0
forked from github/pelican

Test package installation on Windows in CI

This commit is contained in:
Justin Mayer 2020-05-10 10:20:05 +02:00
commit 30d782fd84

View file

@ -125,6 +125,44 @@ jobs:
run: tox -e docs
install_sdist:
name: Install sdist on Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1.1.1
with:
python-version: 3.6
- name: Test sdist installation on Windows
run: |
python -m pip install -U pip poetry
poetry build
python -m pip install ${env:GITHUB_WORKSPACE}\dist\pelican-4.2.0.tar.gz
echo "Pelican version:"
pelican --version
install_wheel:
name: Install wheel on Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1.1.1
with:
python-version: 3.6
- name: Test wheel installation on Windows
run: |
python -m pip install -U pip poetry
poetry build
python -m pip install ${env:GITHUB_WORKSPACE}\dist\pelican-4.2.0-py3-none-any.whl
echo "Pelican version:"
pelican --version
deploy:
name: Deploy
needs: [test, lint, docs]