Run a sample build before tests on PRs with this label

This commit is contained in:
Joe Rickerby
2020-11-22 01:15:44 +00:00
parent 9d731cd440
commit a93cee1a30
2 changed files with 34 additions and 0 deletions
+11
View File
@@ -37,10 +37,21 @@ jobs:
- name: Install dependencies
run: |
python -m pip install -r requirements-dev.txt
- name: Install Visual C++ for Python 2.7
if: runner.os == 'Windows'
run: |
choco install vcpython27 -f -y
- name: Get PR labels
id: pr-labels
uses: joerick/pr-labels-action@v1.0.5
- name: Sample build
if: contains(steps.pr-labels.outputs.labels, ' ci-sample-build ')
run: |
python bin/sample_build.py
- name: Test cibuildwheel
run: |
python ./bin/run_tests.py