File tree Expand file tree Collapse file tree 3 files changed +55
-34
lines changed Expand file tree Collapse file tree 3 files changed +55
-34
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ test :
7+ name : Python ${{ matrix.python-version }}
8+ runs-on : ubuntu-latest
9+ strategy :
10+ fail-fast : false
11+ matrix :
12+ python-version : ["3.7", "3.8"]
13+
14+ env :
15+ BOTO_CONFIG : /dev/null
16+ AWS_ACCESS_KEY_ID : foobar_key
17+ AWS_SECRET_ACCESS_KEY : foobar_secret
18+
19+ steps :
20+ - name : Checkout source
21+ uses : actions/checkout@v2
22+ with :
23+ fetch-depth : 0
24+
25+ - name : Setup Conda Environment
26+ uses : conda-incubator/setup-miniconda@16930e6
27+ with :
28+ auto-update-conda : true
29+ miniconda-version : latest
30+ activate-environment : test
31+ python-version : ${{ matrix.python-version }}
32+
33+ - name : Install dependencies
34+ shell : bash -l {0}
35+ run : |
36+ conda install -c conda-forge pip botocore aiobotocore moto pytest flake8 black -y
37+ pip install git+https://github.com/intake/filesystem_spec --no-deps
38+ conda list
39+ conda --version
40+
41+ - name : Install
42+ shell : bash -l {0}
43+ run : python setup.py install
44+
45+ - name : Run Tests
46+ shell : bash -l {0}
47+ run : py.test -vv s3fs
48+
49+ - name : Lint
50+ shell : bash -l {0}
51+ run : |
52+ flake8 s3fs
53+ black s3fs --check
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ View the documentation_ for s3fs.
1010.. _documentation : http://s3fs.readthedocs.io/en/latest/
1111.. _botocore : https://botocore.readthedocs.io/en/latest/
1212
13- .. |Build Status | image :: https://travis-ci.org /dask/s3fs.svg?branch=master
14- :target: https://travis-ci.org /dask/s3fs
13+ .. |Build Status | image :: https://github.com /dask/s3fs/workflows/CI/badge .svg
14+ :target: https://github.com /dask/s3fs/actions
1515 :alt: Build Status
1616.. |Doc Status | image :: https://readthedocs.org/projects/s3fs/badge/?version=latest
1717 :target: https://s3fs.readthedocs.io/en/latest/?badge=latest
You can’t perform that action at this time.
0 commit comments