-
-
Notifications
You must be signed in to change notification settings - Fork 2
46 lines (36 loc) · 904 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# yaml-language-server: $schema=https://json-schema.org/draft-07/schema#
name: Test
on:
push:
pull_request:
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