Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.0 #323

Merged
merged 24 commits into from
Jan 20, 2021
Merged

v2.0 #323

Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 15 additions & 8 deletions .github/workflows/ci-cd-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dev dependencies
run: |
pip install --upgrade pip
pip install -e .[dev] --use-feature=2020-resolver
pip install --upgrade --user pip wheel
pip install -e .[dev]
# TODO: add `pylint pymagicc`
# TODO: add pydocstyle pymagicc
- name: Formatting and linters
Expand Down Expand Up @@ -86,11 +86,18 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-

# no windows wheel for Python 3.6 cftime 1.3.1
# https://github.com/Unidata/cftime/issues/224
- name: Install cftime 1.3.0 (${{ runner.os }})
if: startsWith(runner.os, 'Windows') && endsWith(matrix.python-version, '3.6')
run: |
pip install --upgrade --user pip wheel
pip install cftime==1.3.0

- name: Install test dependencies
run: |
pip install --upgrade pip
pip install -e .[tests] --use-feature=2020-resolver
pip install --upgrade --user pip wheel
pip install -e .[tests]


- name: Test with pytest (${{ runner.os }})
Expand Down Expand Up @@ -160,8 +167,8 @@ jobs:

- name: Install notebook dependencies
run: |
pip install --upgrade pip
pip install -e .[tests,notebooks] --use-feature=2020-resolver
pip install --upgrade --user pip wheel
pip install -e .[tests,notebooks]
- name: Test notebooks with nbval
if: startsWith(runner.os, 'Linux')
run: |
Expand Down Expand Up @@ -189,8 +196,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -e .[dev] --use-feature=2020-resolver
pip install --upgrade --user pip wheel
pip install -e .[dev]
- name: Create package
run: python setup.py sdist bdist_wheel --universal
- name: Publish package to PyPI
Expand Down
Loading