-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #154 from alchemistry/prepare-050
prepare for release 0.5.0
- Loading branch information
Showing
3 changed files
with
44 additions
and
40 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 |
---|---|---|
|
@@ -11,19 +11,18 @@ on: | |
branches: | ||
- "master" | ||
|
||
concurrency: | ||
group: "${{ github.ref }}-${{ github.head_ref }}" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
fail-fast: true | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
#- macOS-latest | ||
python-version: | ||
- 3.7 | ||
- 3.8 | ||
- 3.9 | ||
os: ["ubuntu-latest", "macOS-latest", "windows-latest"] | ||
python-version: ["3.7", "3.8", "3.9"] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
@@ -32,36 +31,36 @@ jobs: | |
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
architecture: x64 | ||
|
||
- name: Environment Information | ||
shell: bash -l {0} | ||
- name: Display Python version | ||
run: python -c "import sys; print(sys.version)" | ||
|
||
- name: Install some dependencies (binary only, no version restrictions) | ||
run: | | ||
python --version | ||
python -m pip install wheel | ||
python -m pip install --only-binary=numpy numpy | ||
python -m pip install --only-binary=scipy scipy | ||
python -m pip install --only-binary=matplotlib matplotlib | ||
- name: Install pytest, pytest plugins | ||
shell: bash -l {0} | ||
run: | | ||
python -m pip install pytest pytest-cov pytest-pep8 | ||
- name: Install alchemtest | ||
shell: bash -l {0} | ||
run: | | ||
python -m pip install --only-binary=numpy numpy # Otherwise this would take ages | ||
python -m pip install https://github.com/alchemistry/alchemtest/archive/master.zip | ||
- name: Install package | ||
shell: bash -l {0} | ||
- name: Install package (with remaining dependencis) | ||
run: | | ||
python -m pip install . | ||
- name: Run tests | ||
shell: bash -l {0} | ||
run: | | ||
pytest -v --cov alchemlyb --cov-report=xml src/alchemlyb/tests | ||
pytest -v --cov alchemlyb --cov-report=xml --color=yes src/alchemlyb/tests | ||
- name: Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
name: codecov-${{ matrix.os }}-py${{ matrix.python-version }} | ||
file: ./coverage.xml | ||
fail_ci_if_error: true |
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