Skip to content
.gitlab-ci.yml 393 B
Newer Older
---
stages:
  - test

pre-commit:
  stage: test
  image: adarnimrod/ci-images:pre-commit
  variables:
    XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
  script:
    - pre-commit run --all-files
  cache:
    paths:
      - .cache/

test:
  stage: test
  image: buildpack-deps:bullseye
  allow_failure: true
  before_script:
    - apt-get update
    - apt-get install -y bats
  script:
    - bats .