Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 14 additions & 16 deletions .github/workflows/softwarecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,18 @@ jobs:
#
py2-job:
runs-on: ubuntu-latest
container:
image: cmscloud/cc7-cms:latest
options: --user root

steps:
- name: Checking_python_2.7
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
run: |
python -V
ls
git clone --depth 1 https://github.com/oglez/cmsstyle.git
cd cmsstyle
pwd
python -m py_compile src/cmsstyle/cmsstyle.py
ls -lh src/cmsstyle/cmsstyle.pyc
#
- name: Checkout repository (on host)
uses: actions/checkout@v4

- name: Run checks inside container
uses: addnab/docker-run-action@v3
with:
image: cmscloud/cc7-cms:latest
options: --user root -v ${{ github.workspace }}:/code -w /code
run: |
python -V
find . -type f
python -m py_compile src/cmsstyle/cmsstyle.py
ls -lh src/cmsstyle/cmsstyle.pyc