Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pytato
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
Andreas Klöckner
pytato
Commits
dea23730
Commit
dea23730
authored
1 year ago
by
Andreas Klöckner
Committed by
Andreas Klöckner
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Install the project editable to avoid ambiguity that pytest dislikes
parent
cc72370d
No related branches found
No related tags found
No related merge requests found
Pipeline
#483647
passed
1 year ago
Stage: test
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/ci.yml
+4
-0
4 additions, 0 deletions
.github/workflows/ci.yml
.gitlab-ci.yml
+4
-0
4 additions, 0 deletions
.gitlab-ci.yml
with
8 additions
and
0 deletions
.github/workflows/ci.yml
+
4
−
0
View file @
dea23730
...
...
@@ -64,6 +64,10 @@ jobs:
-
name
:
"
Main
Script"
run
:
|
curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/build-and-test-py-project-within-miniconda.sh
# pytest gets angry when 'import pytato.array' may come
# from both the project file and the venv. This matters
# because of doctest collection.
PROJECT_INSTALL_FLAGS="--editable"
. ./build-and-test-py-project-within-miniconda.sh
examples
:
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
4
−
0
View file @
dea23730
...
...
@@ -4,6 +4,10 @@ Python 3 POCL:
-
export PYOPENCL_TEST=portable:pthread
-
export EXTRA_INSTALL="pyopencl mpi4py jax[cpu]"
-
curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/build-and-test-py-project.sh
# pytest gets angry when 'import pytato.array' may come
# from both the project file and the venv. This matters
# because of doctest collection.
-
'
PROJECT_INSTALL_FLAGS="--editable"'
-
"
.
./build-and-test-py-project.sh"
tags
:
-
python3
...
...
This diff is collapsed.
Click to expand it.
Andreas Klöckner
@inducer
mentioned in commit
b6037c5b
·
1 year ago
mentioned in commit
b6037c5b
mentioned in commit b6037c5bd383c3911582fff345a61d5c4db363e4
Toggle commit list
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