Skip to content

Commit cd1602c

Browse files
committed
Update CI
1 parent 03fd218 commit cd1602c

2 files changed

Lines changed: 14 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python-version: ["3.10", "3.11"]
11+
python-version: [ "3.10", "3.11" ]
1212
steps:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-python@v5
@@ -28,44 +28,51 @@ jobs:
2828
tests:
2929
runs-on: ubuntu-latest
3030
needs: lint
31-
strategy:
32-
matrix:
33-
python-version: ["3.11"]
3431
steps:
3532
- uses: actions/checkout@v4
3633
- uses: actions/setup-python@v5
3734
with:
38-
python-version: ${{ matrix.python-version }}
35+
python-version: 3.11
3936
cache: pip
37+
4038
- name: Upgrade pip
4139
run: python -m pip install -U pip
40+
4241
- name: Install project + test deps
4342
run: pip install ".[dev]" pytest pytest-cov
43+
4444
- name: Run tests with coverage
4545
run: pytest
46+
4647
- name: Upload coverage to Codecov
4748
uses: codecov/codecov-action@v4
4849
with:
4950
files: ./coverage.xml
5051
flags: unittests
5152
fail_ci_if_error: true
53+
5254
docs:
5355
runs-on: ubuntu-latest
5456
steps:
5557
- uses: actions/checkout@v4
5658
- uses: actions/setup-python@v5
5759
with:
58-
python-version: ${{ matrix.python-version }}
60+
python-version: 3.11
5961
cache: pip
62+
6063
- name: Upgrade pip
6164
run: python -m pip install -U pip
65+
6266
- name: Install project dependencies
6367
run: pip install ".[docs]"
68+
6469
- name: Pull LFS files
6570
run: git lfs fetch --all && git lfs checkout
71+
6672
- name: Build documentation
6773
if: github.event_name == 'push' && github.ref != 'refs/heads/main'
6874
run: mkdocs build
75+
6976
- name: Deploy documentation
7077
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
7178
run: mkdocs gh-deploy --force

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ addopts = [
7171
"--disable-warnings",
7272
"--cov=biped_walking_controller",
7373
"--cov-report=term-missing:skip-covered",
74-
"--cov-report=xml"
74+
"--cov-report=xml",
7575
]

0 commit comments

Comments
 (0)