This repository was archived by the owner on Nov 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed
Expand file tree Collapse file tree 1 file changed +48
-0
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+ build :
7+
8+ runs-on : ${{ matrix.os }}
9+ strategy :
10+ fail-fast : false
11+ matrix :
12+ os : [ubuntu-18.04, macOS-10.15]
13+ python-version : [3.6, 3.7]
14+
15+ steps :
16+ - uses : actions/checkout@v2
17+ - name : Set up Python ${{ matrix.python-version }}
18+ 19+ with :
20+ python-version : ${{ matrix.python-version }}
21+
22+ - name : Install dependencies
23+ run : |
24+ pip install -U pip setuptools h5py
25+ pip3 install -U -e .[all,dev]
26+ python -m spacy download en
27+ python --version
28+ pip --version
29+ pip list
30+
31+ - name : Code style
32+ run : |
33+ flake8 examples nlp_architect tests solutions --config setup.cfg
34+ ./scripts/check_pylint.sh
35+ black --check --line-length 100 --target-version py36 examples nlp_architect solutions tests
36+
37+ # - name: Tests
38+ # run: |
39+ # pytest ./ -rs -v --dist=loadfile --cov=nlp_architect --junit-xml=junit/test-results-${{ runner.os }}-${{ matrix.python-version }}.xml
40+
41+ # - name: Upload pytest test results
42+ # uses: actions/upload-artifact@master
43+ # with:
44+ # name: pytest-results-${{ runner.os }}-${{ matrix.python-version }}
45+ # path: junit/test-results-${{ runner.os }}-${{ matrix.python-version }}.xml
46+ # # Use always() to always run this step to publish test results when there are test failures
47+ # if: always()
48+
You can’t perform that action at this time.
0 commit comments