added copyrights to navigation bar #34
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- 'main' | |
paths: | |
- 'streamlit/**' | |
- 'model/**' | |
jobs: | |
test: | |
name: Continuous Integration | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
# - name: Cache pip dependencies | |
# uses: actions/cache@v3 | |
# with: | |
# path: ~/.cache/pipenv | |
# key: pipenv-${{ runner.os }}-${{ hashFiles('**/Pipfile.lock') }} | |
# restore-keys: | | |
# pipenv-${{ runner.os }}-pip- | |
- name: Install dependencies | |
run: | | |
cd streamlit | |
python -m pip install --upgrade pip | |
pip install pipenv && pipenv install --dev | |
- name: Running formatting and linting tools | |
run: | | |
cd streamlit | |
pipenv run black . | |
pipenv run isort --length-sort . | |
pipenv run pylint --recursive=y . |