소스 검색

ci: reorganize the workflows (#63)

tags/v1.0.8
Deuchnord 1 년 전
committed by Deuchnord
부모
커밋
1924483aa1
3개의 변경된 파일18개의 추가작업 그리고 22개의 파일을 삭제
  1. +16
    -3
      .github/workflows/black.yml
  2. +0
    -17
      .github/workflows/semantic-pr.yml
  3. +2
    -2
      .github/workflows/tests.yml

+ 16
- 3
.github/workflows/black.yml 파일 보기

@@ -1,4 +1,4 @@
name: Code style
name: Pull Request Checks

on:
push:
@@ -7,13 +7,26 @@ on:
branches: [main, features]

jobs:
lint:
semantic-pr:
name: Semantic Pull Request
runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

lint:
name: Code Style
runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.x
- uses: psf/black@20.8b1

+ 0
- 17
.github/workflows/semantic-pr.yml 파일 보기

@@ -1,17 +0,0 @@
name: "Semantic Pull Request"

on:
pull_request:
types:
- opened
- edited
- synchronize

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

+ 2
- 2
.github/workflows/tests.yml 파일 보기

@@ -1,4 +1,4 @@
name: Tests
name: Unit Tests

on:
push:
@@ -23,7 +23,7 @@ jobs:
- '3.10'
- '3.11'

name: Doc tests (Python ${{ matrix.python_version }} on ${{ matrix.os }})
name: Python ${{ matrix.python_version }} (${{ matrix.os }})
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python_version }}


불러오는 중...
취소
저장