-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run style checks using GitHub Actions instead of Azure Pipelines (#519)
* Run style checks using GitHub Actions * Remove Azure Pipelines * Update Continuous Integration maintenance note to include GH Actions Co-authored-by: Wei Ji <[email protected]>
- Loading branch information
Showing
4 changed files
with
29 additions
and
72 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,30 @@ on: | |
- cron: '0 0 * * *' | ||
|
||
jobs: | ||
style_check: | ||
name: Style Checks | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Checkout current git repository | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
# Setup Miniconda | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.7 | ||
|
||
- name: Install packages | ||
run: pip install black flake8 pylint | ||
|
||
- name: Formatting check (black and flake8) | ||
run: make check | ||
|
||
- name: Linting (pylint) | ||
run: make lint | ||
|
||
test: | ||
name: ${{ matrix.os }} - Python ${{ matrix.python-version }} | ||
runs-on: ${{ matrix.os }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters