requirements.txtにPillowを追加しました #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [ dev ] | |
pull_request: | |
branches: [ dev ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 # リポジトリをチェックアウト | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' # Pythonのバージョンを指定 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt # 必要なライブラリをインストール | |
- name: Run TEST | |
run: | | |
mkdir TEST-results # TEST-resultsディレクトリを作成 | |
python -m unittest discover -s TEST # テストを実行 | |
- name: Upload test results | |
uses: actions/upload-artifact@v4 | |
if: always() # 常にテスト結果をアップロード | |
with: | |
name: TEST-results | |
path: TEST-results # テスト結果の出力先を指定 |