-
Notifications
You must be signed in to change notification settings - Fork 69
Remove AppVeyor and Travis-CI #95
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
Merged
ocefpaf
merged 1 commit into
python-visualization:master
from
ocefpaf:remove_appveyor_travis
May 3, 2021
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| name: Publish to PyPI | ||
|
|
||
| on: | ||
| release: | ||
| types: | ||
| - published | ||
|
|
||
| jobs: | ||
| packages: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@v1 | ||
| with: | ||
| python-version: 3.8 | ||
|
|
||
| - name: Get tags | ||
| run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | ||
| shell: bash | ||
|
|
||
| - name: Install build tools | ||
| run: | | ||
| python -m pip install --upgrade pip wheel setuptools setuptools_scm build twine pytest pandas pytz requests | ||
|
|
||
| shell: bash | ||
|
|
||
| - name: Build binary wheel | ||
| run: python -m build --sdist --wheel . --outdir dist | ||
|
|
||
| - name: CheckFiles | ||
| run: | | ||
| ls dist | ||
| shell: bash | ||
|
|
||
| - name: Test wheels | ||
| run: | | ||
| cd dist && python -m pip install erddapy*.whl | ||
| python -m twine check * | ||
| shell: bash | ||
|
|
||
| - name: Publish a Python distribution to PyPI | ||
| uses: pypa/gh-action-pypi-publish@master | ||
| with: | ||
| user: __token__ | ||
| password: ${{ secrets.PYPI_PASSWORD }} |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,47 +1,39 @@ | ||
| name: Code Tests | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| pull_request: | ||
| branches: | ||
| - master | ||
| push: | ||
| branches: [master] | ||
|
|
||
| jobs: | ||
| run: | ||
| runs-on: ${{ matrix.os }} | ||
| strategy: | ||
| matrix: | ||
| os: [ubuntu-latest, windows-latest] | ||
| python-version: [3.6, 3.9] | ||
| os: [ubuntu-latest, windows-latest, macos-latest] | ||
| python-version: ["3.6", "3.7", "3.8", "3.9"] | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v2 | ||
|
|
||
| - name: Setup Conda | ||
| uses: s-weigand/setup-conda@v1 | ||
| with: | ||
| update-conda: true | ||
| activate-conda: false | ||
| conda-channels: conda-forge | ||
|
|
||
| - name: Python ${{ matrix.python-version }} | ||
| shell: bash -l {0} | ||
| run: | | ||
| conda create --yes --name TEST python=${{ matrix.python-version }} pip --file requirements.txt --file requirements-dev.txt --channel conda-forge --strict-channel-priority | ||
| conda create --name TEST python=${{ matrix.python-version }} pip --file requirements.txt --file requirements-dev.txt | ||
| source activate TEST | ||
| pip install -e . --no-deps --force-reinstall | ||
|
|
||
| - name: Tarball tests | ||
| shell: bash -l {0} | ||
| run: | | ||
| source activate TEST | ||
| pip wheel . -w dist --no-deps | ||
| check-manifest --verbose | ||
| twine check dist/* | ||
| conda info --all | ||
| conda list | ||
|
|
||
| - name: Tests | ||
| shell: bash -l {0} | ||
| run: | | ||
| source activate TEST | ||
| pytest -vv | ||
| pytest -vv -rxs tests -m "not headless" | ||
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| name: Notebook Tests | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: [master] | ||
|
|
||
| jobs: | ||
| run: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v2 | ||
|
|
||
| - name: Setup Conda | ||
| uses: s-weigand/setup-conda@v1 | ||
| with: | ||
| update-conda: true | ||
| activate-conda: false | ||
| conda-channels: conda-forge | ||
|
|
||
| - name: Python 3.9 | ||
| shell: bash -l {0} | ||
| run: | | ||
| conda create --name TEST python=3.9 pip --file requirements.txt --file requirements-dev.txt | ||
| source activate TEST | ||
| pip install -e . --no-deps --force-reinstall | ||
| conda info --all | ||
| conda list | ||
|
|
||
| - name: Notebook tests | ||
| shell: bash -l {0} | ||
| run: | | ||
| source activate TEST | ||
| pytest --nbval-lax examples |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| name: Headless Tests | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: [master] | ||
|
|
||
| jobs: | ||
| run: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v2 | ||
|
|
||
| - name: Setup Conda | ||
| uses: s-weigand/setup-conda@v1 | ||
| with: | ||
| update-conda: true | ||
| activate-conda: false | ||
| conda-channels: conda-forge | ||
|
|
||
| - name: Python 3.9 | ||
| shell: bash -l {0} | ||
| run: | | ||
| conda create --name TEST python=3.9 pip --file requirements.txt --file requirements-dev.txt | ||
| source activate TEST | ||
| pip install -e . --no-deps --force-reinstall | ||
| conda info --all | ||
| conda list | ||
|
|
||
| - name: Tests | ||
| shell: bash -l {0} | ||
| run: | | ||
| source activate TEST | ||
| pytest -vv -rxs tests -m "headless" |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| name: Tarball Tests | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: [master] | ||
|
|
||
| jobs: | ||
| run: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v2 | ||
|
|
||
| - name: Setup Conda | ||
| uses: s-weigand/setup-conda@v1 | ||
| with: | ||
| update-conda: true | ||
| activate-conda: false | ||
| conda-channels: conda-forge | ||
|
|
||
| - name: Python 3 | ||
| shell: bash -l {0} | ||
| run: | | ||
| conda create --name TEST python=3 pip --file requirements.txt --file requirements-dev.txt | ||
| source activate TEST | ||
| pip install -e . --no-deps --force-reinstall | ||
| conda info --all | ||
| conda list | ||
|
|
||
| - name: Tarball tests | ||
| shell: bash -l {0} | ||
| run: | | ||
| source activate TEST | ||
| pip wheel . -w dist --no-deps | ||
| check-manifest --verbose | ||
| twine check dist/* |
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -8,6 +8,7 @@ flake8-print | |
| isort | ||
| jupyter | ||
| nbsphinx | ||
| nbval | ||
| pylint | ||
| pytest | ||
| pytest-cov | ||
|
|
||
This file was deleted.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.