diff --git a/.github/workflows/check_typos.yml b/.github/workflows/check_typos.yml new file mode 100644 index 000000000..6d036df6c --- /dev/null +++ b/.github/workflows/check_typos.yml @@ -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 \ No newline at end of file diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 68adac5d6..fa1a82c95 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -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 #----------------------------------------------