Skip to content

Commit

Permalink
ci: reorganize the workflows (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
Deuchnord committed May 5, 2023
1 parent a2aa56c commit 1924483
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 22 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Code style
name: Pull Request Checks

on:
push:
Expand All @@ -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
17 changes: 0 additions & 17 deletions .github/workflows/semantic-pr.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: Unit Tests

on:
push:
Expand All @@ -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 }}
Expand Down

0 comments on commit 1924483

Please sign in to comment.