Skip to content

pyinstallerによるwindows用のexeファイルの生成処理を変更しました #8

pyinstallerによるwindows用のexeファイルの生成処理を変更しました

pyinstallerによるwindows用のexeファイルの生成処理を変更しました #8

Workflow file for this run

name: Python tests and lint
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
env:
# 認証情報を確認するテストを動作させるために、適当な値を認証情報として設定する
ANNOFAB_USER_ID: foo
ANNOFAB_PASSWORD: bar
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip "poetry<1.9"
poetry install --only main,test
- name: Test
run: |
poetry run pytest -n auto -m "not access_webapi"
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip "poetry<1.9"
poetry install --only main,linter
- name: Lint
run: |
make lint