From 36031bd884719f3e98810682e36412e815ca57f1 Mon Sep 17 00:00:00 2001 From: Nathan Moore Date: Wed, 11 Oct 2023 16:47:57 -0600 Subject: [PATCH] using `if` syntax from gmt ci file --- .github/workflows/nightly_ci_build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly_ci_build.yml b/.github/workflows/nightly_ci_build.yml index a0c01ecf..c21f98c4 100644 --- a/.github/workflows/nightly_ci_build.yml +++ b/.github/workflows/nightly_ci_build.yml @@ -47,12 +47,13 @@ jobs: bundle exec certified-update - name: Install Python dependencies run: | - if ${{ matrix.simulation-type }} == electric ; then + if [ '${{ matrix.simulation-type }}' == 'electric' ]; then + echo 'Installing Python dependencies' bundle exec uo install_python fi - name: Test project setup run: | - if ${{ matrix.simulation-type }} == electric ; then + if [ '${{ matrix.simulation-type }}' == 'electric' ]; then echo 'this type is ${{ matrix.simulation-type }}' bundle exec rspec -e 'Admin' bundle exec rspec -e 'Create project'