forked from aiidaplugins/aiida-lammps
-
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.
Fixing formatting errors to conform with ruff.
- Loading branch information
Showing
58 changed files
with
1,258 additions
and
785 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,12 +14,18 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.8" | ||
- uses: pre-commit/[email protected] | ||
- uses: actions/[email protected] | ||
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.9" | ||
- name: Make sure virtualevn>20 is installed, which will yield newer pip and possibility to pin pip version. | ||
run: pip install "virtualenv>20" | ||
- name: Install Tox | ||
run: pip install tox | ||
- name: Run pre-commit in Tox | ||
run: tox -e pre-commit | ||
|
||
|
||
tests: | ||
|
||
|
@@ -31,16 +37,14 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
include: | ||
- python-version: "3.8" | ||
lammps-version: "2020.03.03" | ||
- python-version: "3.8" | ||
lammps-version: "2020.12.24" | ||
- python-version: "3.9" | ||
lammps-version: "2020.12.24" | ||
- python-version: "3.9" | ||
lammps-version: "2020.03.03" | ||
lammps-version: "2022.06.23" | ||
- python-version: "3.10" | ||
lammps-version: "2021.09.29" | ||
lammps-version: "2022.06.23" | ||
- python-version: "3.11" | ||
lammps-version: "2022.06.23" | ||
|
||
runs-on: ubuntu-latest | ||
|
||
|
@@ -87,10 +91,10 @@ jobs: | |
|
||
- name: Run pytest | ||
run: | | ||
tox -e ${{ matrix.python-version }}-aiida_lammps -- tests/ --cov=./aiida_lammps --cov-append --cov-report=xml --cov-report=term-missing | ||
tox -e ${{ matrix.python-version }}-aiida_lammps -- tests/ --cov=aiida_lammps --cov-append --cov-report=xml --cov-report=term-missing | ||
- name: Upload to Codecov | ||
if: matrix.python-version == 3.8 | ||
if: matrix.python-version == 3.10 | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
|
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
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
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
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.