From b899b74d76109b77076fcf2a883cf582218880a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=A4dler?= Date: Mon, 8 Apr 2024 13:04:24 +0200 Subject: [PATCH] Switch to running tests with rspec directly --- .gitlab-ci.yml | 2 +- README.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c5b3204..45acf5d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,7 +22,7 @@ rails spec: script: - cd /app - bundle exec rails db:migrate - - bundle exec rails spec + - bundle exec rspec artifacts: paths: - specs_with_runtime.txt diff --git a/README.md b/README.md index be5c30f..ff52a51 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,12 @@ Development (without mail confirmation and separate database): $ RAILS_ENV=development rails server ``` +## Testing +Running tests works as follows: +```bash +bundle exec rspec +``` + ## Docker [Registry](https://gitlab.com/turniere/turniere-backend/container_registry)