Daniel Tull: Blog

Running Swift package tests on Linux with GitLab CI

Tuesday, 22 July 2025

GitLab provides a solution for running tests on commits which they call GitLab CI.

linux-test:
  image:
    swift:5.0.1
  script:
    - swift test

This specifies a job called linux-test which specifies that it should be run on the Swift 5.0.1 image on docker hub. Gitlab CI will