ddee19b946
* Made env interpolated instead of evaluated. * [skip ci] Add Test Workflow file * Activate Test * fix Test Co-authored-by: ChristopherHX <christopher.homberger@web.de>
21 lines
546 B
YAML
21 lines
546 B
YAML
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
|