diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9fe50f0..cc1c105 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,10 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.12' + # - name: Set up Python + # uses: actions/setup-python@v5 + # with: + # python-version: '3.12' - name: Build package shell: pwsh run: . ./scripts/build.ps1 diff --git a/.github/workflows/local_test.yml b/.github/workflows/local_test.yml index 2922aee..88607ca 100644 --- a/.github/workflows/local_test.yml +++ b/.github/workflows/local_test.yml @@ -12,10 +12,6 @@ jobs: - uses: actions/checkout@v4 with: submodules: true - - uses: actions/setup-python@v5 - with: - python-version: '3.12' - cache: 'pip' - name: Local Test env: OSS_ENDPOINT_NAME: ${{ secrets.OSS_ENDPOINT_NAME }} diff --git a/scripts/test.ps1 b/scripts/test.ps1 index e1f9b30..6b752b9 100644 --- a/scripts/test.ps1 +++ b/scripts/test.ps1 @@ -6,7 +6,7 @@ if (Get-Command conda -ErrorAction SilentlyContinue) { conda create --name $conda_env_name python=3.12 --yes } conda activate $conda_env_name - conda install --update-deps pandoc -c conda-forge --yes + conda install --update-deps pandoc=3.11 -c conda-forge --yes } else { Write-Host "Conda not detected." if (Get-Command pandoc -ErrorAction SilentlyContinue) { @@ -24,7 +24,6 @@ if (Get-Command conda -ErrorAction SilentlyContinue) { } } } - pip install -r "${PSScriptRoot}/requirements.txt" pip install -U pytest pytest-cov $root_path = (Get-Item "$PSScriptRoot/..").FullName