Skip to content

Commit

Permalink
Remove git lfs temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
ravidalon committed Jan 9, 2025
1 parent 1058cf8 commit c0e8235
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 37 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/Test-CI-dev-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,17 @@ jobs:
python -m pip install -U -r requirements_tests.txt \
--extra-index-url https://pypi.org/simple
- name: Install couenne solver
env:
COUENNE_FILE: tests/resources/couenne.gz
LOCAL_BIN: ${{ runner.temp }}/.local/bin
run: |
set -eux
git lfs pull -I "$COUENNE_FILE"
mkdir -p "$LOCAL_BIN"
echo "$LOCAL_BIN" >>"$GITHUB_PATH"
gzip -dc "$COUENNE_FILE" >"${LOCAL_BIN}/couenne"
chmod ugo+x "${LOCAL_BIN}/couenne"
# - name: Install couenne solver
# env:
# COUENNE_FILE: tests/resources/couenne.gz
# LOCAL_BIN: ${{ runner.temp }}/.local/bin
# run: |
# set -eux
# git lfs pull -I "$COUENNE_FILE"
# mkdir -p "$LOCAL_BIN"
# echo "$LOCAL_BIN" >>"$GITHUB_PATH"
# gzip -dc "$COUENNE_FILE" >"${LOCAL_BIN}/couenne"
# chmod ugo+x "${LOCAL_BIN}/couenne"

# Set authentication with M2M token
- name: Set authentication
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/Test-CI-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,17 @@ jobs:
python -m pip install -U -r requirements_tests.txt \
--extra-index-url https://pypi.org/simple
- name: Install couenne solver
env:
COUENNE_FILE: tests/resources/couenne.gz
LOCAL_BIN: ${{ runner.temp }}/.local/bin
run: |
set -eux
git lfs pull -I "$COUENNE_FILE"
mkdir -p "$LOCAL_BIN"
echo "$LOCAL_BIN" >>"$GITHUB_PATH"
gzip -dc "$COUENNE_FILE" >"${LOCAL_BIN}/couenne"
chmod ugo+x "${LOCAL_BIN}/couenne"
# - name: Install couenne solver
# env:
# COUENNE_FILE: tests/resources/couenne.gz
# LOCAL_BIN: ${{ runner.temp }}/.local/bin
# run: |
# set -eux
# git lfs pull -I "$COUENNE_FILE"
# mkdir -p "$LOCAL_BIN"
# echo "$LOCAL_BIN" >>"$GITHUB_PATH"
# gzip -dc "$COUENNE_FILE" >"${LOCAL_BIN}/couenne"
# chmod ugo+x "${LOCAL_BIN}/couenne"

# Set authentication with M2M token
- name: Set authentication
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/Test-CI-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,17 +106,17 @@ jobs:
python -m pip install -U -r requirements.txt
python -m pip install -U -r requirements_tests.txt
- name: Install couenne solver
env:
COUENNE_FILE: tests/resources/couenne.gz
LOCAL_BIN: ${{ runner.temp }}/.local/bin
run: |
set -eux
git lfs pull -I "$COUENNE_FILE"
mkdir -p "$LOCAL_BIN"
echo "$LOCAL_BIN" >>"$GITHUB_PATH"
gzip -dc "$COUENNE_FILE" >"${LOCAL_BIN}/couenne"
chmod ugo+x "${LOCAL_BIN}/couenne"
# - name: Install couenne solver
# env:
# COUENNE_FILE: tests/resources/couenne.gz
# LOCAL_BIN: ${{ runner.temp }}/.local/bin
# run: |
# set -eux
# git lfs pull -I "$COUENNE_FILE"
# mkdir -p "$LOCAL_BIN"
# echo "$LOCAL_BIN" >>"$GITHUB_PATH"
# gzip -dc "$COUENNE_FILE" >"${LOCAL_BIN}/couenne"
# chmod ugo+x "${LOCAL_BIN}/couenne"

#
# Setup Environment
Expand Down
1 change: 0 additions & 1 deletion tests/resources/.gitattributes

This file was deleted.

3 changes: 0 additions & 3 deletions tests/resources/couenne.gz

This file was deleted.

0 comments on commit c0e8235

Please sign in to comment.