Skip to content

Commit

Permalink
updated ci-cd pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin committed Dec 19, 2024
1 parent a64c28f commit d60747b
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: tests
run-name: Python Tests
on:
workflow_call:

push:
branches:
- "**"
Expand All @@ -19,6 +18,11 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Ensure pip is installed
run: python -m ensurepip --upgrade
- name: Upgrade pip and setuptools
run: |
python -m pip install --upgrade pip setuptools
- name: 'Install dependencies'
run: pip install -r requirements.txt
- name: 'Run unit tests'
Expand Down Expand Up @@ -55,6 +59,11 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Ensure pip is installed
run: python -m ensurepip --upgrade
- name: Upgrade pip and setuptools
run: |
python -m pip install --upgrade pip setuptools
- name: 'Install dependencies'
run: pip install -r requirements.txt
- name: 'Run unit tests'
Expand All @@ -79,6 +88,11 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Ensure pip is installed
run: python -m ensurepip --upgrade
- name: Upgrade pip and setuptools
run: |
python -m pip install --upgrade pip setuptools
- name: 'Install dependencies'
run: pip install -r requirements.txt
- name: 'Run unit tests'
Expand Down
2 changes: 0 additions & 2 deletions engine/basic_camera_model/requirements.txt

This file was deleted.

2 changes: 0 additions & 2 deletions engine/extended_camera_model/requirements.txt

This file was deleted.

5 changes: 4 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ versioneer~=0.29
pyinstaller
template-project-utils
sphinx
sphinx_rtd_theme
sphinx_rtd_theme

opencv-python~=4.9.0.80
numpy<2

0 comments on commit d60747b

Please sign in to comment.