Skip to content

Commit

Permalink
putting if statement in steps
Browse files Browse the repository at this point in the history
  • Loading branch information
robinsteuteville committed Feb 21, 2024
1 parent 8873d4e commit eaad1fa
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eaad1fa

Please sign in to comment.