Skip to content

Commit

Permalink
Added Python check on PR, Updated spelling checks
Browse files Browse the repository at this point in the history
  • Loading branch information
LRWeber committed Jun 12, 2024
1 parent 4151c99 commit 50fbb32
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,34 @@
name: Check Spelling
name: Code Checks

on: pull_request

defaults:
run:
shell: bash

jobs:
spelling-check:
name: Spelling Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check Spelling
uses: crate-ci/typos@v1.16.12
- name: Check spelling
uses: crate-ci/typos@v1.22.7
with:
files: ./_posts ./README.md ./about/faq.md ./about/contributing.md

python-check:
name: Python Check
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install flake8 black
- run: make test
3 changes: 3 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ Cleary = "Cleary"
compsite = "compsite"
epsiode = "epsiode"
FOM = "FOM"
HPE = "HPE"
NED = "NED"
Pn = "Pn"
SUite = "SUite"
Universite = "Universite"
varity = "varity"
Varity = "Varity"

[default.extend-words]
NED = "NED"
Pn = "Pn"

0 comments on commit 50fbb32

Please sign in to comment.