Skip to content

Commit

Permalink
add static analysis check
Browse files Browse the repository at this point in the history
  • Loading branch information
ks6088ts committed Aug 10, 2023
1 parent dd89818 commit a9cd7c6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: static-analysis

on: push

jobs:
static-analysis:
strategy:
matrix:
python-version: ["3.11"]
poetry-version: ["1.4.2"]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Run CI tests
run: |
poetry run ruff check . --ignore E501
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![static-analysis](https://github.com/Azure-Samples/jp-azureopenai-samples/workflows/static-analysis/badge.svg)](https://github.com/Azure-Samples/jp-azureopenai-samples/actions/workflows/static-analysis.yml)

# Azure OpenAI Samples Japan
Azure OpenAIを活用したアプリケーション実装のリファレンスを目的として、アプリのサンプル(リファレンスアーキテクチャ、サンプルコードとデプロイ手順)を無償提供しています。 本サンプルは、日本マイクロソフトの社員有志により作成・公開しています(This repository contains sample applications that leverage Azure OpenAI with a focus on use cases for the Japan market)

Expand Down

0 comments on commit a9cd7c6

Please sign in to comment.