diff --git a/.github/workflows/sims.yml b/.github/workflows/sims.yml index aa8dd73a..cdbd8b00 100644 --- a/.github/workflows/sims.yml +++ b/.github/workflows/sims.yml @@ -63,58 +63,58 @@ jobs: make test-sim-nondeterminism if: env.GIT_DIFF - # test-sim-import-export: - # runs-on: ubuntu-latest - # needs: [build, install-runsim] - # steps: - # - uses: actions/checkout@v2 - # - uses: actions/setup-go@v2.1.3 - # with: - # go-version: 1.16 - # - name: Display go version - # run: go version - # - uses: technote-space/get-diff-action@v4 - # with: - # SUFFIX_FILTER: | - # **/**.go - # go.mod - # go.sum - # SET_ENV_NAME_INSERTIONS: 1 - # SET_ENV_NAME_LINES: 1 - # - uses: actions/cache@v2.1.6 - # with: - # path: ~/go/bin - # key: ${{ runner.os }}-go-runsim-binary - # if: env.GIT_DIFF - # - name: test-sim-import-export - # run: | - # make test-sim-import-export - # if: env.GIT_DIFF + test-sim-import-export: + runs-on: ubuntu-latest + needs: [build, install-runsim] + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-go@v2.1.3 + with: + go-version: 1.16 + - name: Display go version + run: go version + - uses: technote-space/get-diff-action@v4 + with: + SUFFIX_FILTER: | + **/**.go + go.mod + go.sum + SET_ENV_NAME_INSERTIONS: 1 + SET_ENV_NAME_LINES: 1 + - uses: actions/cache@v2.1.6 + with: + path: ~/go/bin + key: ${{ runner.os }}-go-runsim-binary + if: env.GIT_DIFF + - name: test-sim-import-export + run: | + make test-sim-import-export + if: env.GIT_DIFF - # test-sim-after-import: - # runs-on: ubuntu-latest - # needs: [build, install-runsim] - # steps: - # - uses: actions/checkout@v2 - # - uses: actions/setup-go@v2.1.3 - # with: - # go-version: 1.16 - # - name: Display go version - # run: go version - # - uses: technote-space/get-diff-action@v4 - # with: - # SUFFIX_FILTER: | - # **/**.go - # go.mod - # go.sum - # SET_ENV_NAME_INSERTIONS: 1 - # SET_ENV_NAME_LINES: 1 - # - uses: actions/cache@v2.1.6 - # with: - # path: ~/go/bin - # key: ${{ runner.os }}-go-runsim-binary - # if: env.GIT_DIFF - # - name: test-sim-after-import - # run: | - # make test-sim-after-import - # if: env.GIT_DIFF + test-sim-after-import: + runs-on: ubuntu-latest + needs: [build, install-runsim] + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-go@v2.1.3 + with: + go-version: 1.16 + - name: Display go version + run: go version + - uses: technote-space/get-diff-action@v4 + with: + SUFFIX_FILTER: | + **/**.go + go.mod + go.sum + SET_ENV_NAME_INSERTIONS: 1 + SET_ENV_NAME_LINES: 1 + - uses: actions/cache@v2.1.6 + with: + path: ~/go/bin + key: ${{ runner.os }}-go-runsim-binary + if: env.GIT_DIFF + - name: test-sim-after-import + run: | + make test-sim-after-import + if: env.GIT_DIFF