Skip to content

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 pip for installation instead conda (#299)

Kilian Lieretb77d6f45897c
diff --git a/.github/workflows/ci_no_llm.yaml b/.github/workflows/ci_no_llm.yaml
index 0978ef88..75a55d24 100644
--- a/.github/workflows/ci_no_llm.yaml
+++ b/.github/workflows/ci_no_llm.yaml
@@ -18,20 +18,18 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- - name: Setup Miniconda
- uses: conda-incubator/setup-miniconda@v2
+ - uses: actions/setup-python@v5
with:
- miniconda-version: "latest"
- architecture: x64
- activate-environment: swe-agent
- environment-file: environment.yml
- - name: Run setup script and create keys.cfg
+ python-version: '3.9'
+ - name: Pull swe-agent docker container
+ run: |
+ docker pull sweagent/swe-agent:latest
+ - name: Create keys.cfg
run: |
- ./setup.sh
touch keys.cfg
- shell: bash
- - name: Install test dependencies
+ - name: Install dependencies
run: |
+ pip install .
pip install pytest pytest-cov
- name: Run pytest
run: |