Skip to content

Commit

Permalink
Trigger wheel build and test
Browse files Browse the repository at this point in the history
  • Loading branch information
roomrys committed Aug 31, 2024
1 parent 82fa9ac commit 5c53194
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ name: Build CI (no upload)
on:
push:
paths:
- 'setup.py'
- 'requirements.txt'
- 'dev_requirements.txt'
- 'jupyter_requirements.txt'
- 'pypi_requirements.txt'
- 'environment_build.yml'
- '.github/workflows/build_ci.yml'
- "setup.py"
- "requirements.txt"
- "dev_requirements.txt"
- "jupyter_requirements.txt"
- "pypi_requirements.txt"
- "environment_build.yml"
- ".github/workflows/build_ci.yml" # Test number: 0

jobs:
build:
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
shell: bash -l {0}
run: |
python setup.py bdist_wheel
# Upload artifact "tests" can use it
- name: Upload wheel artifact
uses: actions/upload-artifact@v3
Expand All @@ -73,7 +73,7 @@ jobs:
tests:
name: Run tests using wheel (${{ matrix.os }})
runs-on: ${{ matrix.os }}
needs: build # Ensure the build job has completed before starting this job.
needs: build # Ensure the build job has completed before starting this job.
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -107,12 +107,12 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Set up Python 3.7
uses: actions/setup-python@v4
with:
python-version: 3.7

# Download wheel
- name: Download wheel artifact
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -148,8 +148,8 @@ jobs:
run: |
which python
pip freeze
# Install and test the wheel
- name: Test the built wheel
run: |
${{ matrix.test_args}}
${{ matrix.test_args}}

0 comments on commit 5c53194

Please sign in to comment.