Skip to content

Commit

Permalink
Update CI versions and reduce test size
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTov committed Jul 2, 2024
1 parent 81764d5 commit 4fc31e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
python-version:
- "3.11"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
8 changes: 4 additions & 4 deletions CI/integration_tests/test_simple_spheres.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,16 @@ def run_process():
Execute the run on the given process.
"""
# Define the first particle.
trajectory = np.random.uniform(-10, 10, (100, 50, 3))
trajectory = np.random.uniform(-10, 10, (10, 10, 3))
material_1 = vis.Material(colour=np.array([30, 144, 255]) / 255, alpha=0.9)

mesh = vis.Sphere(radius=2.0, material=material_1, resolution=10)
mesh = vis.Sphere(radius=2.0, material=material_1, resolution=3)
particle = vis.Particle(name="Blue", mesh=mesh, position=trajectory)

# Define the second particle.
material_2 = vis.Material(colour=np.array([255, 140, 0]) / 255, alpha=1.0)
trajectory_2 = np.random.uniform(-10, 10, (100, 50, 3))
mesh_2 = vis.Sphere(radius=1.0, material=material_2, resolution=10)
trajectory_2 = np.random.uniform(-10, 10, (10, 10, 3))
mesh_2 = vis.Sphere(radius=1.0, material=material_2, resolution=3)
particle_2 = vis.Particle(name="Orange", mesh=mesh_2, position=trajectory_2)

# Create a bounding box
Expand Down

0 comments on commit 4fc31e4

Please sign in to comment.