Skip to content

Commit dcd5821

Browse files
authored
Update ci.yml
1 parent b8e33bc commit dcd5821

1 file changed

Lines changed: 21 additions & 21 deletions

File tree

.github/workflows/ci.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
```yaml
2-
name: Python Package CI
2+
name: Python Package CI
33
4-
on: [push, pull_request]
4+
on: [push, pull_request]
55
6-
jobs:
7-
build:
8-
runs-on: ubuntu-latest
9-
strategy:
10-
matrix:
11-
python-version: ["3.8", "3.11"]
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python-version: ["3.8", "3.11"]
1212
13-
steps:
14-
- uses: actions/checkout@v4
15-
- name: Set up Python ${{ matrix.python-version }}
16-
uses: actions/setup-python@v4
17-
with:
18-
python-version: ${{ matrix.python-version }}
19-
- name: Install dependencies
20-
run: |
21-
python -m pip install --upgrade pip
22-
pip install -e .[test]
23-
- name: Test with pytest
24-
run: |
25-
pytest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
pip install -e .[test]
23+
- name: Test with pytest
24+
run: |
25+
pytest
2626
```

0 commit comments

Comments
 (0)