Skip to content

Commit

Permalink
Merge pull request #142 from slaclab/git_lfs_setup
Browse files Browse the repository at this point in the history
DEV: add git lfs to dev setup script
  • Loading branch information
nstelter-slac authored Nov 13, 2024
2 parents c582ddc + bcccfe3 commit 808a59c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
5 changes: 4 additions & 1 deletion setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash
# Setup environment variables
# sets up environment variables for running the suite.

# this script assumes you are running on S3DF and are using the psana environment,
# (you have executed 'source /sdf/group/lcls/ds/ana/sw/conda2/manage/bin/psconda.sh')


# current_dir=$(pwd)
Expand Down
11 changes: 8 additions & 3 deletions setup_developers.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/bin/bash
# Setup environment variables

# setup for running all the tests
# this script sets things up for running the tests and linting/formatting scripts.
# only needs to be run once in each download of this repo
# (as opposed to setup.sh which needs to be run each new terminal session)

# this script assumes you are running on S3DF and are using the psana environment,
# (you have executed 'source /sdf/group/lcls/ds/ana/sw/conda2/manage/bin/psconda.sh')

# dependencies used in tests + formatting/linting script
# (these might already be installed into the S3DF env, if so the following cmds should simply do nothing)
pip install pytest
Expand All @@ -14,6 +15,10 @@ pip install ruff
# nice output formatting for pytest
pip install pytest-sugar

# init git large file storage (LFS)
# (assumes git LFS is installed on system already)
git lfs install

# setup test_data submodule
git submodule init
git submodule update

0 comments on commit 808a59c

Please sign in to comment.