Skip to content

Circuit extensions

Circuit extensions #54

Workflow file for this run

name: Code Checking

Check failure on line 1 in .github/workflows/code_check.yml

View workflow run for this annotation

GitHub Actions / Code Checking

Invalid workflow file

The workflow is not valid. .github/workflows/code_check.yml: (Line: 8, Col: 9, Idx: 89) - (Line: 8, Col: 10, Idx: 90): While parsing a tag, did not find expected tag URI.
on:
pull_request:
branches:
- master
paths:
- ! 'resources/retinal-rl.def'
- '**/*.py'
workflow_dispatch:
env:
singularity_image: oras://ghcr.io/berenslab/retinal-rl:singularity-image
sif_file: retinal-rl_singularity-image.sif
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch all branches
run: git fetch --all
- name: Setup Apptainer
uses: eWaterCycle/setup-apptainer@v2
with:
apptainer-version: 1.3.0
- name: Cache Singularity Image
id: cache-singularity
uses: actions/cache@v4
with:
path: ${{ env.sif_file }}
key: ${{ runner.os }}-singularity-${{ hashFiles('~/resources/retinal-rl.def') }}
restore-keys: |
${{ runner.os }}-singularity-${{ hashFiles('~/resources/retinal-rl.def') }}
- name: Run Pylint
run: bash tests/ci/pylint.sh ${{ env.sif_file }}