[typing] Support union type in annotation #161
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: dist | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python-version: ["3.9"] | |
cpp-version: [g++-8] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install build | |
- name: Testing sdist building | |
run: | | |
python -m build --sdist | |
- name: Testing wheel building | |
run: | | |
python -m build --wheel | |
- name: Testing wheel install | |
run: | | |
python -m pip install dist/pythran*.whl | |
- name: Testing wheel uninstall | |
run: | | |
python -m pip uninstall --yes pythran |