diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 2770dd9..0000000 Binary files a/.DS_Store and /dev/null differ diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..d63e55b --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,38 @@ +name: Test + +on: + push: + paths-ignore: + - 'docs/**' + - '**.md' + - '**.ipynb' + +jobs: + build-linux: + runs-on: ubuntu-latest + strategy: + matrix: + python: [3.7, 2.8] + os: [ubuntu-latest] + include: + - python: 3.8 + os: macos-latest + experimental: true + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python }} on ${{ matrix.os }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python }} + - name: Add conda to system path + run: | + # $CONDA is an environment variable pointing to the root of the miniconda directory + echo $CONDA/bin >> $GITHUB_PATH + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements-test.txt + pip install -e . + - name: Test with pytest + run: pytest -vv \ No newline at end of file diff --git a/README.md b/README.md index a64b56c..1042f05 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,13 @@ # ForgeBox -> Data science comprehensive toolbox + [![PyPI version](https://img.shields.io/pypi/v/forgebox)](https://pypi.org/project/forgebox/) ![Python version](https://img.shields.io/pypi/pyversions/forgebox) ![License](https://img.shields.io/github/license/raynardj/forgebox) ![PyPI Downloads](https://img.shields.io/pypi/dm/forgebox) [![pypi build](https://github.com/raynardj/forgebox/actions/workflows/publish.yml/badge.svg)](https://github.com/raynardj/forgebox/actions/workflows/publish.yml) +> Data science comprehensive toolbox + ## Installation Easy simple installation in 1 line diff --git a/requirements-test.txt b/requirements-test.txt new file mode 100644 index 0000000..1d6ed5c --- /dev/null +++ b/requirements-test.txt @@ -0,0 +1,2 @@ +pytest +pytest-mock \ No newline at end of file