Skip to content

Commit 642d674

Browse files
baltzellc-dilks
authored andcommitted
Use SQLite snapshot from CVMFS for CI jobs (#576)
* require cvmfs * use sqlite in ci jobs * roll back to macos-15 * roll back to macos-15 * macos-* appears to be broken * github fixed macos * disable macos, broken on github * see if macos is fixed * Revert "see if macos is fixed" This reverts commit 8ca032d. * Update .github/workflows/ci.yml Co-authored-by: Christopher Dilks <c-dilks@users.noreply.github.com> * reenable macos * try 13 * Update .github/workflows/ci.yml Co-authored-by: Christopher Dilks <c-dilks@users.noreply.github.com> * back to macos-latest --------- Co-authored-by: Christopher Dilks <c-dilks@users.noreply.github.com>
1 parent d655e19 commit 642d674

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed
Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,15 @@ jobs:
4141
runs-on: ${{ matrix.runner }}
4242
steps:
4343
- uses: actions/checkout@v4
44-
- name: Set up JDK
45-
uses: actions/setup-java@v4
44+
- uses: actions/setup-java@v4
4645
with:
4746
java-version: ${{ env.java_version }}
4847
distribution: ${{ env.java_distribution }}
48+
- uses: cvmfs-contrib/github-action-cvmfs@v5
49+
with:
50+
cvmfs_repositories: 'oasis.opensciencegrid.org'
51+
- name: cvmfs
52+
run: ls /cvmfs/oasis.opensciencegrid.org/jlab/hallb/clas12/sw/noarch/data/ccdb/ccdb_latest.sqlite
4953
- name: build
5054
run: ./build-coatjava.sh --spotbugs --unittests --quiet -T4
5155
- name: tar # tarball to preserve permissions
@@ -104,10 +108,14 @@ jobs:
104108
- uses: actions/download-artifact@v4
105109
with:
106110
name: build_${{ matrix.runner }}
111+
- uses: cvmfs-contrib/github-action-cvmfs@v5
112+
with:
113+
cvmfs_repositories: 'oasis.opensciencegrid.org'
107114
- name: untar build
108115
run: tar xzvf coatjava.tar.gz
109116
- name: run test
110117
run: |
118+
export CCDB_CONNECTION=sqlite:////cvmfs/oasis.opensciencegrid.org/jlab/hallb/clas12/sw/noarch/data/ccdb/ccdb_latest.sqlite
111119
cd validation/advanced-tests
112120
echo "COMMAND: ${{ matrix.cmd }}"
113121
${{ matrix.cmd }}

0 commit comments

Comments
 (0)