feat: introduce reaction video (#37) #341
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
# yaml-language-server: $schema=https://json-schema.org/draft-07/schema# | |
name: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened] | |
workflow_dispatch: | |
env: | |
python_version: "3.11" | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python runtime | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "${{ env.python_version }}" | |
- uses: Gr1N/setup-poetry@v8 | |
- name: Install Dependencies | |
run: | | |
poetry --version | |
poetry install | |
# - name: Style format check | |
# run: | | |
# poetry run flake8 ./**/*.py | |
# - name: Static type check | |
# run: | | |
# poetry run pyright ./**/*.py | |
- name: Build Testing | |
run: | | |
poetry build | |
- name: Unit Test | |
run: | | |
poetry run pytest |