Skip to content

Commit

Permalink
chore: test novops run on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBeucher committed Aug 21, 2023
1 parent 2b0e40e commit 804b0f3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
novops-build/novops
load_novops:
name: run Novops load on Github action
name: run Novops commands
runs-on: ubuntu-latest
needs: docker_build
steps:
Expand All @@ -70,11 +70,15 @@ jobs:
with:
name: novops-binary

- name: load novops
- name: novops load
run: |
chmod +x ./novops
./novops load -c tests/.novops.plain-strings.yml -s .envrc -e dev
cat .envrc >> "$GITHUB_ENV"
- name: check novops loaded values
run: env | grep MY_APP_HOST
run: env | grep MY_APP_HOST

- name: novops run and check var
run: |
./novops run -c tests/.novops.plain-strings.yml -e dev -- sh -c "env | grep DOG_PATH"

0 comments on commit 804b0f3

Please sign in to comment.