-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add ape and codecov to CI, update to python 3.9 (#322)
- Loading branch information
Mihai
authored
Apr 17, 2023
1 parent
a850182
commit 3bca61c
Showing
14 changed files
with
233 additions
and
245 deletions.
There are no files selected for viewing
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 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 |
---|---|---|
|
@@ -10,24 +10,26 @@ jobs: | |
build: | ||
name: lint | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.8", "3.11"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
python-version: "3.9" | ||
|
||
- name: Install python dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install black~=22.0 pylint | ||
python -m pip install stochastic --ignore-requires-python | ||
python -m pip install -r requirements-${{ matrix.python-version }}.txt | ||
- name: Analyzing code with black | ||
run: python -m black --check --diff . | ||
- name: Analysing code with pylint | ||
run: python -m pylint $(git ls-files '*.py' ':!:*apeworx*') | ||
python -m pip install -r requirements.txt | ||
ape plugins install . | ||
python -m pip install . | ||
- name: Ensure clear Jupyter Notebooks | ||
uses: ResearchSoftwareActions/[email protected] | ||
|
||
- name: Run black | ||
run: python -m black --check --diff . | ||
|
||
- name: Run pylint | ||
run: python -m pylint $(git ls-files '*.py' ':!:*apeworx*') |
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
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
File renamed without changes.
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
Oops, something went wrong.