Release Notes for v02-20-01 #192
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: python | |
on: [push, pull_request] | |
jobs: | |
python-lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
LCG: ["LCG_98/x86_64-centos7-gcc10-opt"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install CVMFS | |
run: | | |
wget --no-check-certificate https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest_all.deb | |
sudo dpkg -i cvmfs-release-latest_all.deb | |
sudo apt-get update | |
sudo apt-get install cvmfs cvmfs-config-default | |
wget --no-check-certificate https://lcd-data.web.cern.ch/lcd-data/CernVM/default.local | |
sudo mkdir -p /etc/cvmfs | |
sudo mv default.local /etc/cvmfs/default.local | |
sudo cvmfs_config setup | |
ls /cvmfs/sft.cern.ch | |
ls /cvmfs/geant4.cern.ch | |
ls /cvmfs/sft-nightlies.cern.ch | |
- name: Start container | |
run: | | |
docker run -it --name CI_container -v /home/runner/work/LCIO/LCIO:/Package -e VIEW=${{ matrix.LCG }} -v /cvmfs/sft.cern.ch:/cvmfs/sft.cern.ch -v /cvmfs/geant4.cern.ch:/cvmfs/geant4.cern.ch -v /cvmfs/sft-nightlies.cern.ch:/cvmfs/sft-nightlies.cern.ch -d ghcr.io/aidasoft/centos7:latest /bin/bash | |
- name: Run Python Checks | |
run: | | |
docker exec CI_container /bin/bash -c "./Package/.github/scripts/runPythonChecks.sh" |