Added initial defaults objects in first step to oop #204
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: AutoMLOps CI Workflow | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
merge_group: | |
branches: | |
- main | |
jobs: | |
test: | |
# Official language image. Look for the different tagged releases at: | |
# https://hub.docker.com/r/library/python/tags/ | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: Check for licenses | |
run: | | |
./license_check.sh | |
- name: Install dependencies | |
run: | | |
python3 -m pip install --upgrade pip | |
pip3 install -r requirements.txt | |
- name: Lint with pylint | |
run: | | |
pylint --jobs=0 $(git ls-files '*.py') --ignore-paths=example --rcfile=.pylintrc | |
- name: Test with pytest | |
run: | | |
pytest tests --cov=AutoMLOps |