Skip to content

Commit 6f05bef

Browse files
committed
rename and add to workflow
1 parent f3a5953 commit 6f05bef

File tree

2 files changed

+38
-14
lines changed

2 files changed

+38
-14
lines changed

.github/workflows/black.yaml

-14
This file was deleted.

.github/workflows/run_tests.yaml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: pybullet-tree-sim-workflow
2+
3+
on:
4+
pull_request:
5+
branches: ['main', 'develop']
6+
7+
jobs:
8+
# lint:
9+
# runs-on: ubuntu-latest
10+
# steps:
11+
# - uses: actions/checkout@v4
12+
# - uses: psf/black@stable
13+
# with:
14+
# options: "--check --verbose --diff --line-length=120 ./"
15+
build:
16+
strategy:
17+
fail-fast: true
18+
matrix:
19+
os: [ubuntu-latest, macos-latest, windows-latest]
20+
python-version: [3.8, 3.9, 3.10]
21+
22+
runs-on: ${{ matrix.os }}
23+
steps:
24+
- uses: actions/checkout@v4
25+
- name: Set up Python ${{ matrix.python-version }}
26+
uses: actions/setup-python@v2
27+
with:
28+
python-version: ${{ matrix.python-version }}
29+
- name: Install dependencies
30+
run: |
31+
python -m pip install --upgrade pip
32+
pip install .
33+
pip install flake8 black pytest
34+
- name: Format with black
35+
uses: psf/black@stable
36+
with:
37+
python-version: ${{ matrix.python-version }}
38+
options: "--check --verbose --diff --line-length=120 ./"

0 commit comments

Comments
 (0)