summaryrefslogtreecommitdiffstats
path: root/pkg/runner/testdata/evalenv/push.yml
blob: 3d2c97c3147bda185f53680c7877f7b4838dd2bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: CI

on: push
jobs:
  test:
    runs-on: ubuntu-latest
    env:
      BUILD_DIR: ${{ github.workspace }}/build
    steps:
      - name: Dump
        run: |
          echo "$BUILD_DIR"
          echo "$EXPECTED_BUILD_DIR"
          echo "$GITHUB_WORKSPACE/build"
        env:
          EXPECTED_BUILD_DIR: ${{ github.workspace }}/build
      - name: Test
        run: |
          [ "$BUILD_DIR" = "$EXPECTED_BUILD_DIR" ] && [ "$BUILD_DIR" = "$GITHUB_WORKSPACE/build" ]
        env:
          EXPECTED_BUILD_DIR: ${{ github.workspace }}/build