From eaad1fa93e8a01b2665f37aed68c80ac8dda4813 Mon Sep 17 00:00:00 2001 From: Robin Steuteville Date: Wed, 21 Feb 2024 16:41:11 -0700 Subject: [PATCH] putting if statement in steps --- .github/workflows/tests.yaml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 9b6df217..824dc700 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -7,19 +7,19 @@ on: workflow_dispatch: jobs: - - ${{ if eq(github.repository, 'nrel/fastsim') }}: - test: - runs-on: ubuntu-latest - - strategy: - fail-fast: true - matrix: - python-version: ['3.8', '3.9', '3.10'] - - env: - PYTHON: ${{ matrix.python-version }} - steps: - - uses: actions/checkout@v3 + test: + runs-on: ubuntu-latest + + strategy: + fail-fast: true + matrix: + python-version: ['3.8', '3.9', '3.10'] + + env: + PYTHON: ${{ matrix.python-version }} + steps: + - uses: actions/checkout@v3 + - ${{ if eq(github.repository, 'nrel/fastsim') }}: - name: set up python ${{ matrix.python-version }} uses: actions/setup-python@v4