SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]
CI: Fix passing python path to uv (#401)
Kilian Lierete2226739f214
diff --git a/.github/workflows/build-docs.yaml b/.github/workflows/build-docs.yamlindex df53105d..649f5d39 100644--- a/.github/workflows/build-docs.yaml+++ b/.github/workflows/build-docs.yaml@@ -30,9 +30,6 @@ jobs:- name: Install uvrun: |curl -LsSf https://astral.sh/uv/install.sh | sh- - name: Set the VIRTUAL_ENV variable for uv to work- run: |- echo "VIRTUAL_ENV=${Python_ROOT_DIR}" >> $GITHUB_ENV- - run: uv pip install mkdocs-material mkdocs-glightbox+ - run: uv pip install --python ${Python_ROOT_DIR} mkdocs-material mkdocs-glightbox- run: mkdocs gh-deploy --forcediff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yamlindex 69c925db..51162ed7 100644--- a/.github/workflows/pytest.yaml+++ b/.github/workflows/pytest.yaml@@ -38,14 +38,10 @@ jobs:- name: Install uvrun: |curl -LsSf https://astral.sh/uv/install.sh | sh- # See https://github.com/princeton-nlp/SWE-agent/actions/runs/9102025526/job/25020661634?pr=360- - name: Set the VIRTUAL_ENV variable for uv to work- run: |- echo "VIRTUAL_ENV=${Python_ROOT_DIR}" >> $GITHUB_ENV- name: Install dependenciesrun: |- uv pip install .- uv pip install pytest pytest-cov+ uv pip install --python ${Python_ROOT_DIR} .+ uv pip install --python ${Python_ROOT_DIR} pytest pytest-cov- name: Run pytestrun: |pytest --cov