mirror of
https://github.com/microsoft/autogen.git
synced 2026-02-18 04:31:26 -05:00
Move python code to subdir (#98)
This commit is contained in:
6
.github/workflows/checks.yml
vendored
6
.github/workflows/checks.yml
vendored
@@ -16,6 +16,7 @@ jobs:
|
||||
- name: Install Hatch
|
||||
uses: pypa/hatch@install
|
||||
- run: hatch run ruff format --check
|
||||
working-directory: ./python
|
||||
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -24,6 +25,7 @@ jobs:
|
||||
- name: Install Hatch
|
||||
uses: pypa/hatch@install
|
||||
- run: hatch run ruff check
|
||||
working-directory: ./python
|
||||
|
||||
mypy:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -32,6 +34,7 @@ jobs:
|
||||
- name: Install Hatch
|
||||
uses: pypa/hatch@install
|
||||
- run: hatch run mypy
|
||||
working-directory: ./python
|
||||
|
||||
pyright:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -40,6 +43,7 @@ jobs:
|
||||
- name: Install Hatch
|
||||
uses: pypa/hatch@install
|
||||
- run: hatch run pyright
|
||||
working-directory: ./python
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -51,6 +55,7 @@ jobs:
|
||||
- name: Install Hatch
|
||||
uses: pypa/hatch@install
|
||||
- run: hatch run +python=${{ matrix.python-version }} test-matrix:pytest -n auto
|
||||
working-directory: ./python
|
||||
|
||||
docs:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -59,3 +64,4 @@ jobs:
|
||||
- name: Install Hatch
|
||||
uses: pypa/hatch@install
|
||||
- run: hatch run docs:check
|
||||
working-directory: ./python
|
||||
|
||||
3
.github/workflows/docs.yml
vendored
3
.github/workflows/docs.yml
vendored
@@ -33,10 +33,11 @@ jobs:
|
||||
- name: Install Hatch
|
||||
uses: pypa/hatch@install
|
||||
- run: hatch run docs:build
|
||||
working-directory: ./python
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: 'docs/build'
|
||||
path: 'python/docs/build'
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
|
||||
Reference in New Issue
Block a user