Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Knoten
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
aflab
astrogeology
Knoten
Commits
7f68f614
Unverified
Commit
7f68f614
authored
1 year ago
by
Jay Laura
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #122 from jlaura/ci
Adds GH CI
parents
ca104e7d
eed0150b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.github/workflows/ci.yml
+44
-0
44 additions, 0 deletions
.github/workflows/ci.yml
environment.yml
+2
-2
2 additions, 2 deletions
environment.yml
knoten/vis.py
+2
-2
2 additions, 2 deletions
knoten/vis.py
with
48 additions
and
4 deletions
.github/workflows/ci.yml
0 → 100644
+
44
−
0
View file @
7f68f614
name
:
Pull-Request-CI
on
:
pull_request
:
branches
:
-
main
push
:
branches
:
-
main
jobs
:
Build-and-Test
:
runs-on
:
${{ matrix.os }}
strategy
:
fail-fast
:
false
matrix
:
os
:
[
ubuntu-latest
,
macos-latest
]
python-version
:
[
"
3.8"
,
"
3.9"
,
"
3.10"
,
"
3.11"
,
"
3.12"
]
defaults
:
run
:
shell
:
bash -l {0}
steps
:
-
name
:
Checkout Code
uses
:
actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
-
name
:
Setup ENV
uses
:
conda-incubator/setup-miniconda@3b0f2504dd76ef23b6d31f291f4913fb60ab5ff3
with
:
miniforge-version
:
latest
use-mamba
:
true
channels
:
conda-forge
activate-environment
:
ale
environment-file
:
environment.yml
auto-activate-base
:
false
auto-update-conda
:
true
python-version
:
${{ matrix.python-version }}
-
name
:
Check build environment
run
:
|
conda list
-
name
:
Install Python Package
run
:
|
python setup.py install
-
name
:
Test Python Package
run
:
|
pytest
\ No newline at end of file
This diff is collapsed.
Click to expand it.
environment.yml
+
2
−
2
View file @
7f68f614
...
@@ -4,7 +4,7 @@ channels:
...
@@ -4,7 +4,7 @@ channels:
-
usgs-astrogeology
-
usgs-astrogeology
-
plotly
-
plotly
dependencies
:
dependencies
:
-
ale>=0.
8.8
-
ale>=0.
10.0
-
coveralls
-
coveralls
-
csmapi>=1.0
-
csmapi>=1.0
-
gdal>=3.0.0
-
gdal>=3.0.0
...
@@ -20,7 +20,7 @@ dependencies:
...
@@ -20,7 +20,7 @@ dependencies:
-
psutil
-
psutil
-
pvl
-
pvl
-
pyproj
-
pyproj
-
pys
is
-
kalasir
is
-
pytest
-
pytest
-
python>=3
-
python>=3
-
requests
-
requests
...
...
This diff is collapsed.
Click to expand it.
knoten/vis.py
+
2
−
2
View file @
7f68f614
...
@@ -12,8 +12,8 @@ from numbers import Number
...
@@ -12,8 +12,8 @@ from numbers import Number
import
numpy
as
np
import
numpy
as
np
import
pandas
as
pd
import
pandas
as
pd
from
pysis
import
isis
import
kalasiris.pysis
as
isis
from
pysis.exception
s
import
ProcessError
from
kalasiris.pysi
s
import
ProcessError
import
plotly.graph_objects
as
go
import
plotly.graph_objects
as
go
import
plotly.express
as
px
import
plotly.express
as
px
...
...
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