Skip to content

Commit 9ea3edb

Browse files
committed
Update GitHub Actions workflow to conditionally upload coverage for Python 3.12 and adjust maximum function evaluations in optimization script
1 parent c3b94fe commit 9ea3edb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/build_test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
pytest --cov-branch --cov-report=xml --cov=essos
4646
4747
- name: Upload coverage reports to Codecov
48+
if: matrix.python-version == '3.12'
4849
uses: codecov/codecov-action@v5
4950
with:
5051
token: ${{ secrets.CODECOV_TOKEN }}

examples/optimize_coils_vmec_surface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
max_coil_curvature = 0.5
1313
order_Fourier_series_coils = 6
1414
number_coil_points = order_Fourier_series_coils*10
15-
maximum_function_evaluations = 500
15+
maximum_function_evaluations = 300
1616
number_coils_per_half_field_period = 4
1717
tolerance_optimization = 1e-5
1818
ntheta=32

0 commit comments

Comments
 (0)