ci(github): fix developer bug report template link #47
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
name: Check | |
on: push | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
with: | |
version: "1.6.1" | |
- name: Install dependencies | |
run: poetry install | |
- name: Setup Lint | |
run: cp ./env.sample.jsonc ./env.jsonc | |
- name: Lint | |
run: make lint | |
# type: | |
# name: Type | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout code | |
# uses: actions/checkout@v4 | |
# - name: Setup Python | |
# uses: actions/setup-python@v4 | |
# with: | |
# python-version: "3.10" | |
# - name: Install Poetry | |
# uses: snok/install-poetry@v1 | |
# with: | |
# version: "1.6.1" | |
# - name: Install mypy | |
# run: pip install mypy | |
# - name: Install dependencies | |
# run: poetry install | |
# - name: Setup Types | |
# run: cp ./env.sample.jsonc ./env.jsonc | |
# - name: Check Types | |
# run: make type | |
test: | |
name: Unit Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
with: | |
version: "1.6.1" | |
- name: Install dependencies | |
run: poetry install | |
- name: Setup Unit Tests | |
run: cp ./env.sample.jsonc ./env.jsonc | |
- name: Run Unit Tests | |
run: make test |