Skip to content

Commit

Permalink
test on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
oskarhurst committed May 13, 2024
1 parent 3410197 commit 36d2402
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:

strategy:
matrix:
os: [ windows-latest ]
os: [ windows-latest, ubuntu-latest ]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -90,6 +90,7 @@ jobs:
run: pip install requests

- name: add dll
if: windows-latest
run: python3 src/hecdss/download_hecdss.py

- name: Install Packages
Expand Down
4 changes: 2 additions & 2 deletions src/hecdss/download_hecdss.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ def download_and_unzip(url, zip_file, destination_dir):
destination_dir = Path(__file__).parent.joinpath("lib")
zip_url = "https://www.hec.usace.army.mil/nexus/repository/maven-public/mil/army/usace/hec/hecdss/7-IS-4-win-x86_64/hecdss-7-IS-4-win-x86_64.zip"
download_and_unzip(zip_url, "hecdss-7-IS-4-win-x86_64.zip", destination_dir)
zip_url = "https://www.hec.usace.army.mil/nexus/repository/maven-public/mil/army/usace/hec/hecdss/7-IS-linux-x86_64/hecdss-7-IS-linux-x86_64.zip"
download_and_unzip(zip_url, "hecdss-7-IS-linux-x86_64.zip", destination_dir)
zip_url = "https://www.hec.usace.army.mil/nexus/repository/maven-public/mil/army/usace/hec/hecdss/7-IS-4-linux-x86_64/hecdss-7-IS-4-linux-x86_64.zip"
download_and_unzip(zip_url, "hecdss-7-IS-4-linux-x86_64.zip", destination_dir)

0 comments on commit 36d2402

Please sign in to comment.