Skip to content

Free Motion Capture for Everyone πŸ’€βœ¨

TypeScript

Actions testing (#657)

philipqueenfda8023dfdc8
diff --git a/.github/workflows/linting-flake8.yml b/.github/workflows/linting-flake8.yml
index 45ec3749..c15c8967 100755
--- a/.github/workflows/linting-flake8.yml
+++ b/.github/workflows/linting-flake8.yml
@@ -1,6 +1,7 @@
name: Linting Flake8
on:
+ workflow_dispatch:
pull_request:
branches: [ main, development ]
paths:
diff --git a/.github/workflows/mac_installer.yml b/.github/workflows/mac_installer.yml
index 56822c6a..5e2153ba 100644
--- a/.github/workflows/mac_installer.yml
+++ b/.github/workflows/mac_installer.yml
@@ -7,7 +7,7 @@ on:
jobs:
build:
- runs-on: macos-12
+ runs-on: macos-13
steps:
- uses: actions/checkout@v4
- name: System Info
diff --git a/.github/workflows/python-testing.yml b/.github/workflows/python-testing.yml
index a3c4cb0a..9212de7d 100755
--- a/.github/workflows/python-testing.yml
+++ b/.github/workflows/python-testing.yml
@@ -1,6 +1,7 @@
name: Freemocap Tests
on:
+ workflow_dispatch:
pull_request:
branches: [ main, development ]
paths:
diff --git a/freemocap/tests/conftest.py b/freemocap/tests/conftest.py
index 97faa3c5..47827bd0 100644
--- a/freemocap/tests/conftest.py
+++ b/freemocap/tests/conftest.py
@@ -1,4 +1,3 @@
-from typing import Optional
import pytest
from freemocap.core_processes.process_motion_capture_videos.process_recording_headless import (
diff --git a/freemocap/tests/test_image_tracking_data_shape.py b/freemocap/tests/test_image_tracking_data_shape.py
index 09165139..9ff4baf8 100644
--- a/freemocap/tests/test_image_tracking_data_shape.py
+++ b/freemocap/tests/test_image_tracking_data_shape.py
@@ -1,5 +1,5 @@
from pathlib import Path
-from typing import Optional, Union
+from typing import Union
import numpy as np
import pytest
@@ -43,7 +43,7 @@ def test_image_tracking_data_shape(
number_of_videos = len(list_of_video_paths)
assert (
image2d_camera_frame_marker_xyz.shape[0] == number_of_videos
- ), f"Number of videos in image_tracking_data does not match number of videos in synchronized videos folder"
+ ), f"Number of videos in image_tracking_data ({image2d_camera_frame_marker_xyz.shape[0]}) does not match number of videos in synchronized videos folder ({number_of_videos})"
frame_counts = list(get_number_of_frames_of_videos_in_a_folder(synchronized_video_folder_path).values())
diff --git a/freemocap/tests/test_skeleton_data_shape.py b/freemocap/tests/test_skeleton_data_shape.py
index e3a155ae..8807c338 100644
--- a/freemocap/tests/test_skeleton_data_shape.py
+++ b/freemocap/tests/test_skeleton_data_shape.py
@@ -1,5 +1,5 @@
from pathlib import Path
-from typing import Optional, Union
+from typing import Union
import numpy as np
import pytest
diff --git a/freemocap/tests/test_total_body_center_of_mass_data_shape.py b/freemocap/tests/test_total_body_center_of_mass_data_shape.py
index 5f82674d..d5a5ce4c 100644
--- a/freemocap/tests/test_total_body_center_of_mass_data_shape.py
+++ b/freemocap/tests/test_total_body_center_of_mass_data_shape.py
@@ -1,5 +1,5 @@
from pathlib import Path
-from typing import Optional, Union
+from typing import Union
import numpy as np
import pytest