From 10077255d3315ecf1a4bdab47e1c944cb5a43d5f Mon Sep 17 00:00:00 2001 From: rocky Date: Mon, 30 Dec 2024 07:08:51 -0500 Subject: [PATCH] Adjust workflow github repo for testing --- .github/workflows/macos.yml | 7 ++++--- .github/workflows/mypy.yml | 5 +++-- .github/workflows/packages.yml | 2 ++ .github/workflows/pyodide.yml | 4 +++- .github/workflows/ubuntu-cython.yml | 3 ++- .github/workflows/ubuntu.yml | 3 ++- .github/workflows/windows.yml | 4 ++-- 7 files changed, 18 insertions(+), 10 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index c5fb49e44..783724de8 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -14,7 +14,7 @@ jobs: runs-on: macos-latest strategy: matrix: - os: [macOS] +n os: [macOS] python-version: ['3.10', '3.11'] steps: - uses: actions/checkout@v4 @@ -28,9 +28,10 @@ jobs: python -m pip install --upgrade pip - name: Install Mathics3 with full Python dependencies run: | - # We can comment out after next Mathics-Scanner release python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full] - git clone https://github.com/Mathics3/mathics-scanner.git + # We can comment out after next Mathics-Scanner release + # git clone https://github.com/Mathics3/mathics-scanner.git + git clone --single-branch --branch operator-refactor-part1.5 https://github.com/Mathics3/mathics-scanner.git cd mathics-scanner/ pip install -e . cd .. diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index ba593df16..d0dc180ac 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -22,9 +22,10 @@ jobs: run: | sudo apt update -qq && sudo apt install llvm-dev remake python -m pip install --upgrade pip - # We can comment out after next Mathics-Scanner release python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full] - git clone https://github.com/Mathics3/mathics-scanner.git + # We can comment out after next Mathics-Scanner release + # git clone https://github.com/Mathics3/mathics-scanner.git + git clone --single-branch --branch operator-refactor-part1.5 https://github.com/Mathics3/mathics-scanner.git cd mathics-scanner/ pip install -e . cd .. diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 2addcaea2..bfb26089c 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -26,6 +26,8 @@ jobs: python -m pip install --upgrade pip # We can comment out after next Mathics-Scanner release python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full] + # git clone https://github.com/Mathics3/mathics-scanner.git + git clone --single-branch --branch operator-refactor-part1.5 https://github.com/Mathics3/mathics-scanner.git cd src/mathics-scanner/ pip install -e . python -m mathics_scanner.generate.build_tables diff --git a/.github/workflows/pyodide.yml b/.github/workflows/pyodide.yml index c5d5f655e..ea6ffea6c 100644 --- a/.github/workflows/pyodide.yml +++ b/.github/workflows/pyodide.yml @@ -54,7 +54,9 @@ jobs: pip install "setuptools>=70.0.0" PyYAML click packaging pytest - git clone https://github.com/Mathics3/mathics-scanner.git + # We can comment out after next Mathics-Scanner release + # git clone https://github.com/Mathics3/mathics-scanner.git + git clone --single-branch --branch operator-refactor-part1.5 https://github.com/Mathics3/mathics-scanner.git cd mathics-scanner/ pip install --no-build-isolation -e . cd .. diff --git a/.github/workflows/ubuntu-cython.yml b/.github/workflows/ubuntu-cython.yml index 433a0d562..4d9b4b574 100644 --- a/.github/workflows/ubuntu-cython.yml +++ b/.github/workflows/ubuntu-cython.yml @@ -26,7 +26,8 @@ jobs: python -m pip install --upgrade pip # We can comment out after next Mathics-Scanner release python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full] - git clone https://github.com/Mathics3/mathics-scanner.git + # git clone https://github.com/Mathics3/mathics-scanner.git + git clone --single-branch --branch operator-refactor-part1.5 https://github.com/Mathics3/mathics-scanner.git cd mathics-scanner/ pip install -e . cd .. diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 35bdd7b29..6aecfc335 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -26,7 +26,8 @@ jobs: python -m pip install --upgrade pip # We can comment out after next Mathics-Scanner release # python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full] - git clone https://github.com/Mathics3/mathics-scanner.git + # git clone https://github.com/Mathics3/mathics-scanner.git + git clone --single-branch --branch operator-refactor-part1.5 https://github.com/Mathics3/mathics-scanner.git cd mathics-scanner/ pip install -e . python -m mathics_scanner.generate.build_tables diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index f7c86d1bc..c19470684 100755 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -35,8 +35,8 @@ jobs: run: | # We can comment out after next Mathics-Scanner release python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full] - - git clone https://github.com/Mathics3/mathics-scanner.git + # git clone https://github.com/Mathics3/mathics-scanner.git + git clone --single-branch --branch operator-refactor-part1.5 https://github.com/Mathics3/mathics-scanner.git cd mathics-scanner pip install -e . python -m mathics_scanner.generate.build_tables