Skip to content

Commit

Permalink
testing scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
galabovaa committed Dec 19, 2024
1 parent 48956e0 commit f076122
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: bazelbuild/setup-bazelisk@v2
- uses: bazelbuild/setup-bazelisk@v3

- name: Mount bazel cache # Optional
uses: actions/cache@v3
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test-python-install-sdist
name: build-python-sdist

on: [push, pull_request]

Expand All @@ -17,7 +17,7 @@ jobs:
run: pipx run twine check dist/*

- name: install highspy
run: python3 -m pip install dist/*
run: python3 -m pip install dist/*.tar.gz

- name: Test Python Examples
run: |
Expand All @@ -40,7 +40,9 @@ jobs:
run: pipx run twine check dist/*

- name: install highspy
run: python -m pip install dist/highspy*
run: |
$item = Get-ChildItem dist
python -m pip install "$item"
- name: Test Python Examples
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-wheels-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:

environment:
name: testpypi
url: https://testpypi.org/p/highspy
url: https://test.pypi.org/p/highspy

permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
Expand Down

0 comments on commit f076122

Please sign in to comment.