diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml new file mode 100644 index 0000000..2b9f608 --- /dev/null +++ b/.github/workflows/python.yml @@ -0,0 +1,24 @@ +name: CI + +on: + push: + branches: [ main ] + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: '3.10' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + pip install flake8 pytest + - name: Lint with flake8 + run: flake8 . + - name: Run tests + run: pytest -q diff --git a/requirements.txt b/requirements.txt index 67cd478..6f18cd7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,12 @@ +pandas +numpy +scikit-learn +tensorflow +PyYAML tensorflow numpy pandas scikit-learn matplotlib pyyaml -notebook \ No newline at end of file +notebook