Skip to content

Commit

Permalink
Merge pull request #521 from loris-imageserver/gh_actions
Browse files Browse the repository at this point in the history
switch to GitHub actions
  • Loading branch information
bcail authored Nov 30, 2020
2 parents 434f11d + c6d1fd1 commit 5f59af7
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 33 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on:
push:
branches: [ development ]
pull_request:
branches: [ development ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7, 3.8]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
sudo apt install libjpeg-turbo8 libjpeg-turbo8-dev libfreetype6 libfreetype6-dev zlib1g-dev liblcms2-2 liblcms2-dev liblcms2-utils libopenjp2-tools libtiff5-dev libwebp-dev
python -m pip install --upgrade pip
pip install -r requirements_test.txt
- name: Run Tests
run: |
flake8 --select=F --ignore=F841
coverage run --module py.test --verbose tests/*.py
coverage report
33 changes: 0 additions & 33 deletions .travis.yml

This file was deleted.

0 comments on commit 5f59af7

Please sign in to comment.