Skip to content

Commit

Permalink
add wheel validation to GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ktactac-ornl committed Jul 30, 2024
1 parent e590702 commit 2384dc5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ jobs:
environment-file: environment.yml
cache-environment-key: ${{ runner.os }}-env-${{ hashFiles('**/environment.yml') }}
cache-downloads-key: ${{ runner.os }}-downloads-${{ hashFiles('**/environment.yml') }}
- name: install additional dependencies
- name: build and verify wheel
run: |
echo "installing additional dependencies from environment_development.yml"
python -m build --wheel --no-isolation
check-wheel-contents dist/finddata-*.whl
- name: build conda package
run: |
# set up environment
Expand Down
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ dependencies:
- boa
- conda-build < 4
- conda-verify
- check-wheel-contents
- libmamba
- libarchive
- python-build
Expand Down
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ finddata = "finddata.cli:main"
[project.optional-dependencies]
bashcompletion = ["argcomplete"]

[tool.setuptools.data-files]
"/etc/bash_completion.d" = ["finddata.bashcomplete"]
"*" = ["src/finddata/cli.py"]

[tool.pytest.ini_options]
pythonpath = [
".", "finddata", "scripts"
Expand Down

0 comments on commit 2384dc5

Please sign in to comment.