Skip to content

Commit

Permalink
Add github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana authored and minio-trusted committed Sep 13, 2019
1 parent 8694bd1 commit db72b1c
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 58 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Python package

on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
build:
name: Test on python ${{ matrix.python-version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 4
matrix:
python-version: [2.7, 3.6, 3.7]
os: [ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install urllib3 certifi pytz pyflakes faker nose
- name: Test with nosetests
run: |
pyflakes minio/*.py || true
python setup.py install
python setup.py nosetests
- name: Test with functional tests
env:
MINT_MODE: full
run: python tests/functional/tests.py
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

33 changes: 0 additions & 33 deletions appveyor.yml

This file was deleted.

0 comments on commit db72b1c

Please sign in to comment.