-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added initial ci workflow * added coveralls * skip travis
- Loading branch information
Showing
3 changed files
with
43 additions
and
57 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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: build ⚙️ | ||
|
||
on: [ push, pull_request ] | ||
|
||
jobs: | ||
main: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.6, 3.7, 3.8, 3.9] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
COVERALLS_SERVICE_NAME: github | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install packages | ||
run: | | ||
sudo apt-get -y install gdal-bin libgdal-dev libnetcdf-dev libhdf5-dev | ||
- uses: actions/setup-python@v2 | ||
name: Setup Python ${{ matrix.python-version }} | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install requirements 📦 | ||
run: | | ||
pip3 install pip --upgrade | ||
pip3 install -r requirements.txt | ||
pip3 install -r requirements-dev.txt | ||
pip3 install -r requirements-extra.txt | ||
pip3 install -r requirements-gdal.txt | ||
- name: run tests ⚙️ | ||
run: python3 -m unittest tests | ||
- name: run coveralls ⚙️ | ||
run: coveralls | ||
if: matrix.python-version == 3.6 | ||
- name: build docs 🏗️ | ||
run: | | ||
pip3 install -e . | ||
cd docs && make html | ||
if: matrix.python-version == 3.6 | ||
- name: run flake8 ⚙️ | ||
run: flake8 pywps | ||
if: matrix.python-version == 3.6 |
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
coverage | ||
coveralls | ||
flake8 | ||
pylint | ||
six | ||
|