Skip to content

Commit

Permalink
Remove legacy visualizer app code, and dependencies (#494)
Browse files Browse the repository at this point in the history
* Remove legacy visualizer app code, and dependencies

* Fix workflow files

* Fix python version in workflow files

* Fix python version in workflow files, some more
  • Loading branch information
amrit110 authored Oct 23, 2023
1 parent 3065072 commit 8e2a96f
Show file tree
Hide file tree
Showing 22 changed files with 163 additions and 1,571 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/code_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:
- uses: actions/checkout@v3
- name: Install poetry
run: python3 -m pip install --upgrade pip && python3 -m pip install poetry
- uses: actions/setup-python@v4.3.0
- uses: actions/setup-python@v4.7.1
with:
python-version: 3.9
python-version: '3.10'
cache: 'poetry'
- name: Install dependencies and check code
run: |
poetry env use 3.9
poetry env use '3.10'
source $(poetry env info --path)/bin/activate
poetry install --without dev,docs,interface
poetry install --without dev,docs
pre-commit run --all-files
8 changes: 4 additions & 4 deletions .github/workflows/docs_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
submodules: 'true'
- name: Install dependencies, build docs and coverage report
run: python3 -m pip install --upgrade pip && python3 -m pip install poetry
- uses: actions/setup-python@v4.3.0
- uses: actions/setup-python@v4.7.1
with:
python-version: 3.9
python-version: '3.10'
cache: 'poetry'
- run: |
python3 -m pip install --upgrade pip && python3 -m pip install poetry
poetry env use 3.9
poetry env use '3.10'
source $(poetry env info --path)/bin/activate
poetry install --without dev,interface
poetry install --without dev
python3 -m ipykernel install --user --name cyclops
# pandoc README.md -f markdown -t rst -s -o docs/source/intro.rst
cd docs && rm -rf source/reference/api/_autosummary && make html
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
submodules: 'true'
- name: Install dependencies, build docs and coverage report
run: python3 -m pip install --upgrade pip && python3 -m pip install poetry
- uses: actions/setup-python@v4.3.0
- uses: actions/setup-python@v4.7.1
with:
python-version: 3.9
python-version: '3.10'
cache: 'poetry'
- run: |
poetry env use 3.9
poetry env use '3.10'
source $(poetry env info --path)/bin/activate
poetry install --without dev,interface
python3 -m ipykernel install --user --name cyclops
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ jobs:
- uses: actions/checkout@v3
- name: Install poetry
run: pip install poetry
- uses: actions/setup-python@v4.3.0
- uses: actions/setup-python@v4.7.1
with:
python-version: 3.9
python-version: '3.10'
- name: Install dependencies and check code
run: |
poetry env use 3.9
poetry env use '3.10'
source $(poetry env info --path)/bin/activate
poetry install --without dev,docs,interface
poetry install --without dev,docs
coverage run -m pytest -m integration_test && coverage xml && coverage report -m
- name: Upload coverage to Codecov
uses: Wandalen/wretry.action@v1.0.36
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
- uses: actions/checkout@v3
- name: Install pip
run: python3 -m pip install --upgrade pip
- uses: actions/setup-python@v4.3.0
- uses: actions/setup-python@v4.7.1
with:
python-version: 3.9
python-version: '3.10'
- name: Install package and test import
run: |
pip install -e .
Expand All @@ -43,9 +43,9 @@ jobs:
- uses: actions/checkout@v3
- name: Install pip
run: python3 -m pip install --upgrade pip
- uses: actions/setup-python@v4.3.0
- uses: actions/setup-python@v4.7.1
with:
python-version: 3.9
python-version: '3.10'
- name: Install package and test import
run: |
pip install -e ".[query]"
Expand All @@ -57,9 +57,9 @@ jobs:
- uses: actions/checkout@v3
- name: Install pip
run: python3 -m pip install --upgrade pip
- uses: actions/setup-python@v4.3.0
- uses: actions/setup-python@v4.7.1
with:
python-version: 3.9
python-version: '3.10'
- name: Install package and test import
run: |
pip install -e ".[models]"
Expand All @@ -71,9 +71,9 @@ jobs:
- uses: actions/checkout@v3
- name: Install pip
run: python3 -m pip install --upgrade pip
- uses: actions/setup-python@v4.3.0
- uses: actions/setup-python@v4.7.1
with:
python-version: 3.9
python-version: '3.10'
- name: Install package and test import
run: |
pip install -e ".[report]"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
- uses: actions/checkout@v3
- name: Install poetry
run: python3 -m pip install --upgrade pip && python3 -m pip install poetry
- uses: actions/setup-python@v4.3.0
- uses: actions/setup-python@v4.7.1
with:
python-version: 3.9
python-version: '3.10'
- name: Build package
run: poetry build
- name: Publish package
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ repos:
entry: python3 -m mypy --config-file pyproject.toml
language: system
types: [python]
exclude: "apps|use_cases|tests|cyclops/(process|models|tasks|monitor|report/plot)"
exclude: "use_cases|tests|cyclops/(process|models|tasks|monitor|report/plot)"

- repo: local
hooks:
Expand Down
1 change: 0 additions & 1 deletion apps/interface/__init__.py

This file was deleted.

Loading

0 comments on commit 8e2a96f

Please sign in to comment.