Skip to content

Commit e11a7d2

Browse files
authored
Update ci.yml
1 parent ea4b2f6 commit e11a7d2

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,27 @@ on:
77
branches: [ main, master ]
88

99
jobs:
10-
build-and-test:
10+
test:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- name: Checkout code
15-
uses: actions/checkout@v3
14+
- name: Checkout code
15+
uses: actions/checkout@v3
1616

17-
- name: Set up Python 3.11
18-
uses: actions/setup-python@v4
19-
with:
20-
python-version: 3.11
17+
- name: Set up Python 3.11
18+
uses: actions/setup-python@v4
19+
with:
20+
python-version: '3.11'
2121

22-
- name: Install dependencies
23-
run: |
24-
python -m pip install --upgrade pip
25-
pip install -r agents/requirements.txt
22+
- name: Upgrade pip
23+
run: python -m pip install --upgrade pip
2624

27-
- name: Run simple tests
28-
run: |
29-
python -m pytest agents/tests/
25+
- name: Install dependencies
26+
run: |
27+
python -m pip install pytest
28+
29+
- name: Run tests with PYTHONPATH
30+
env:
31+
PYTHONPATH: ${{ github.workspace }}
32+
run: |
33+
python -m pytest agents/tests/

0 commit comments

Comments
 (0)