Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pycalibration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
calibration
pycalibration
Commits
16f6b6d0
Commit
16f6b6d0
authored
10 months ago
by
Thomas Kluyver
Committed by
Karim Ahmed
7 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Run tests in the C locale
parent
3392f72b
No related branches found
No related tags found
1 merge request
!984
Try updating to Python 3.11 & update all deps
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
bin/slurm_finalize.sh
+2
-2
2 additions, 2 deletions
bin/slurm_finalize.sh
with
4 additions
and
4 deletions
.gitlab-ci.yml
+
2
−
2
View file @
16f6b6d0
...
...
@@ -44,7 +44,7 @@ pytest:
stage
:
test
only
:
[
merge_requests
]
script
:
#
- export LANG=C # Hopefully detect anything relying on locale
-
export LANG=C
# Hopefully detect anything relying on locale
-
python3 -m pip install ".[test]"
-
python3 -m pytest --color yes --verbose --cov=cal_tools --cov=xfel_calibrate
# Nope... https://docs.gitlab.com/12.10/ee/user/project/merge_requests/test_coverage_visualization.html#enabling-the-feature
...
...
@@ -67,7 +67,7 @@ automated_test:
tags
:
-
integration
script
:
#
- export LANG=C # Hopefully detect anything relying on locale
-
export LANG=C
# Hopefully detect anything relying on locale
-
python3 -m pip install ".[test]"
-
echo "Running automated test. This can take sometime to finish depending on the test data."
-
echo "Given variables are REFERENCE=$REFERENCE, OUTPUT=$OUTPUT, DETECTORS=$DETECTORS, CALIBRATION=$CALIBRATION"
...
...
This diff is collapsed.
Click to expand it.
bin/slurm_finalize.sh
+
2
−
2
View file @
16f6b6d0
...
...
@@ -21,8 +21,8 @@ module load texlive/2022
# make sure we use agg backend
export
MPLBACKEND
=
AGG
#
Ensur
e Python use
s
UTF-8 for
files by default
export
LANG
=
en_US.UTF-8
#
Use the default local
e
(
Python
will still
use UTF-8 for
text files)
export
LANG
=
C
if
[
-n
"
$report_to
"
]
;
then
shopt
-s
failglob
# Fail fast if there are no notebooks found
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment