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: Use uv pip install (#360)
Kilian Lieretee8e5c561998
diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yamlindex 7bc9f839..ae1950e4 100644--- a/.github/workflows/pytest.yaml+++ b/.github/workflows/pytest.yaml@@ -27,10 +27,17 @@ jobs:- name: Create keys.cfgrun: |touch keys.cfg+ - name: Install uv+ run: |+ 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: |- pip install .- pip install pytest pytest-cov+ uv pip install .+ uv pip install pytest pytest-cov- name: Run pytestrun: |pytest --cov