Modernize package #47
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tarball tests | |
on: | |
pull_request: | |
push: | |
branches: [master] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Conda | |
uses: s-weigand/setup-conda@v1 | |
with: | |
activate-conda: false | |
conda-channels: conda-forge | |
- name: Create environment | |
shell: bash -l {0} | |
run: | | |
conda create --name TEST --file requirements.txt --file requirements-dev.txt | |
source activate TEST | |
conda info --all | |
conda list | |
- name: Tarball | |
shell: bash -l {0} | |
run: | | |
source activate TEST | |
python setup.py --version | |
pip wheel . -w dist --no-deps | |
check-manifest --verbose | |
twine check dist/* |