Skip to content

Commit

Permalink
Test Action
Browse files Browse the repository at this point in the history
  • Loading branch information
raynardj committed Apr 27, 2022
1 parent 51f0813 commit 83b8d8d
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 1 deletion.
Binary file removed .DS_Store
Binary file not shown.
38 changes: 38 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pytest
pytest-mock

0 comments on commit 83b8d8d

Please sign in to comment.