Skip to content

Commit

Permalink
moved check into separarte job
Browse files Browse the repository at this point in the history
  • Loading branch information
introkun committed Mar 29, 2024
1 parent d62ad90 commit fa2ca88
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 8 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/check_typos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Check Typos
on:
push:
branches:
- main
pull_request:

jobs:
check-typos:
strategy:
fail-fast: true
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.*" ]

runs-on: ${{ matrix.os }}

steps:
#----------------------------------------------
# check-out repo and set-up python
#----------------------------------------------
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

#----------------------------------------------
# check grammar with typos
#----------------------------------------------
- name: Check grammar with typos
run: |
pip3 install typos
typos
8 changes: 0 additions & 8 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,6 @@ jobs:
virtualenvs-in-project: false
installer-parallel: true

#----------------------------------------------
# check grammar with typos
#----------------------------------------------
- name: Check grammar with typos
run: |
pip3 install typos
typos
#----------------------------------------------
# copy docker compose file
#----------------------------------------------
Expand Down

0 comments on commit fa2ca88

Please sign in to comment.