diff --git a/.github/workflows/cvmfs-ci.yml b/.github/workflows/cvmfs-ci.yml new file mode 100644 index 00000000000..3b1dbf35f79 --- /dev/null +++ b/.github/workflows/cvmfs-ci.yml @@ -0,0 +1,23 @@ +name: CI with CVMFS + +on: + workflow_dispatch: + pull_request: + push: + branches: + - main + +jobs: + test_workflow: + runs-on: ubuntu-latest + name: Test with CMSSW + steps: + # checkout the files of this repository + - uses: actions/checkout@v4 + - uses: cvmfs-contrib/github-action-cvmfs@v4 + with: + cvmfs_repositories: 'cms.cern.ch' + - name: Set up CMSSW + run: | + ls /cvmfs/cms.cern.ch | grep common + docker run -v $(pwd):/code -v /cvmfs:/cvmfs:shared -w /home/cmsusr cmscloud/cc7-cms /bin/bash -c "ls /cvmfs/cms.cern.ch"