Skip to content

Commit

Permalink
Merge pull request #12 from MIT-Emerging-Talent/Group-norms
Browse files Browse the repository at this point in the history
Group norms
  • Loading branch information
TekaMesfinAbel authored Dec 25, 2024
2 parents a1d7513 + de5973e commit 76cdbbe
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 20 deletions.
46 changes: 26 additions & 20 deletions .github/workflows/ci-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ on: [push, pull_request, workflow_dispatch]

jobs:
ls_linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ls-lint/[email protected]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ls-lint/[email protected]

md_formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nosborn/[email protected]
with:
files: .
config_file: .markdownlint.yml
- uses: actions/checkout@v4
- uses: nosborn/[email protected]
with:
files: .
config_file: .markdownlint.yml

py_formatting:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -50,14 +50,20 @@ jobs:
- name: Python - Check Linting - pylint
run: "pylint solutions tests || echo '::warning title=Pylint Error(s)::Discuss solutions and trade-offs in code review.'"
shell: bash

py_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: python version
run: python --version
shell: bash
- name: Python - Run Tests
run: python -m unittest
shell: bash
py_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check for Non-Markdown Changes
run: |
if ! git diff --name-only HEAD^1 | grep -E -v '\.md$'; then
echo "Only Markdown files changed. Skipping tests."
exit 0
fi
shell: bash
- name: python version
run: python --version
shell: bash
- name: Python - Run Tests
run: python -m unittest
shell: bash
1 change: 1 addition & 0 deletions notes/my_first_note.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
you can follow this procedure to create a local branch.

1
updating py_test

0 comments on commit 76cdbbe

Please sign in to comment.