Skip to content

Commit

Permalink
Merge pull request chekoduadarsh#103 from chekoduadarsh/main
Browse files Browse the repository at this point in the history
Updating Dev Branch
  • Loading branch information
chekoduadarsh authored May 20, 2022
2 parents b015882 + 1867465 commit e197cac
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Greetings

on: [pull_request_target, issues]

jobs:
greeting:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Thank you for contributing to BLocklyML'
pr-message: 'Thank you for contributing to BLocklyML'
3 changes: 2 additions & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ jobs:
pip install -r requirements.txt
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
pylint $(ls *.py)
# not considering lib folder it contains DASH library code, the design does not align with pep8 principle
22 changes: 22 additions & 0 deletions .github/workflows/requirementsTest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: RequirementsTest

on: [push]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.9"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
pip install -r requirements.txt

0 comments on commit e197cac

Please sign in to comment.