File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 55 pull_request :
66
77jobs :
8- build_wheels :
8+ build_pure :
99 name : Test build-python-dist action
1010 runs-on : ubuntu-20.04
1111
1717 pure_python_wheel : true
1818 test_extras : test
1919 test_command : pytest --pyargs test_package
20+ build_non_pure :
21+ name : Test build-python-dist action
22+ runs-on : ubuntu-20.04
23+
24+ steps :
25+ - uses : actions/checkout@v2
2026 - id : build_not_pure
2127 uses : ./
2228 with :
Original file line number Diff line number Diff line change 6262 - name : Build pure Python wheel distribution
6363 shell : bash
6464 run : python -m build --wheel .
65- if : ${{ inputs.pure_python_wheel }}
65+ if : ${{ inputs.pure_python_wheel == "true" }}
6666
6767 # TODO: check that the resulting wheel is indeed pure Python
6868
7575 python -m pip install --force-reinstall `find dist -name "*.whl"`[${{ inputs.test_extras }}]
7676 cd ${{ runner.temp }}
7777 ${{ inputs.test_command }}
78- if : ${{ inputs.pure_python_wheel && inputs.test_command != '' && inputs.test_extras != '' }}
78+ if : ${{ inputs.pure_python_wheel == "true" && inputs.test_command != '' && inputs.test_extras != '' }}
7979
8080 - name : Test pure Python wheel distribution
8181 shell : bash
8686 python -m pip install --force-reinstall `find dist -name "*.whl"`
8787 cd ${{ runner.temp }}
8888 ${{ inputs.test_command }}
89- if : ${{ inputs.pure_python_wheel && inputs.test_command != '' && inputs.test_extras == '' }}
89+ if : ${{ inputs.pure_python_wheel == "true" && inputs.test_command != '' && inputs.test_extras == '' }}
You can’t perform that action at this time.
0 commit comments