Skip to content

Commit

Permalink
Check python syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Corentin LABBE <[email protected]>
  • Loading branch information
montjoie committed Jan 7, 2025
1 parent df4fb21 commit 16f50a6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ on: # yamllint disable-line rule:truthy rule:line-length
pull_request:

jobs:
lava-lab-gen-syntax:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9.20', "3.10.15", "3.11.9", "3.12.6", 3.13]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: check syntax of lavalab-gen
run: |
python -m py_compile lavalab-gen.py > output
if [ -s output ] ; then cat output ; exit 1 ; fi
check-lava-lab-gen:
runs-on: ubuntu-22.04
steps:
Expand Down

0 comments on commit 16f50a6

Please sign in to comment.