Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
msyyc committed Sep 30, 2024
1 parent a4c5173 commit a7765d3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 42 deletions.
21 changes: 0 additions & 21 deletions packages/typespec-python/test/azure/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,6 @@ commands=
pytest

[testenv:ci]
deps=
-r requirements.txt
commands =
# pytest
pytest mock_api_tests ../generic_mock_api_tests {posargs}

# pylint
pip install azure-pylint-guidelines-checker==0.4.1 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/"
python ../../../eng/scripts/ci/run_pylint.py -t azure -s "generated" {posargs}

# mypy
python ../../../eng/scripts/ci/run_mypy.py -t azure -s "generated" {posargs}

# pyright
python ../../../eng/scripts/ci/run_pyright.py -t azure -s "generated" {posargs}

# apiview
pip install ../../../../../azure-sdk-tools/packages/python-packages/apiview-stub-generator --extra-index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/"
python ../../../../eng/scripts/run_apiview.py -p typespec-python -t azure -s "generated" {posargs}

[testenv:test]
commands =
pytest mock_api_tests ../generic_mock_api_tests {posargs}

Expand Down
21 changes: 0 additions & 21 deletions packages/typespec-python/test/unbranded/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,6 @@ commands=
pytest

[testenv:ci]
deps=
-r requirements.txt
commands =
# pytest
pytest mock_api_tests ../generic_mock_api_tests {posargs}

# pylint
pip install azure-pylint-guidelines-checker==0.4.1 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/"
python ../../../eng/scripts/ci/run_pylint.py -t azure -s "generated" {posargs}

# mypy
python ../../../eng/scripts/ci/run_mypy.py -t azure -s "generated" {posargs}

# pyright
python ../../../eng/scripts/ci/run_pyright.py -t azure -s "generated" {posargs}

# apiview
pip install ../../../../../azure-sdk-tools/packages/python-packages/apiview-stub-generator --extra-index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/"
python ../../../../eng/scripts/run_apiview.py -p typespec-python -t azure -s "generated" {posargs}

[testenv:test]
commands =
pytest mock_api_tests ../generic_mock_api_tests {posargs}

Expand Down

0 comments on commit a7765d3

Please sign in to comment.