Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
42 changes: 42 additions & 0 deletions .github/workflows/main.yml
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
57 changes: 0 additions & 57 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
coverage
coveralls
flake8
flufl.enum
pylint
Expand Down