Skip to content

Commit

Permalink
Getting the integration testing workflow working. Tests couldnt find …
Browse files Browse the repository at this point in the history
…the binary.
  • Loading branch information
gwynforthewyn committed Aug 16, 2023
1 parent b256954 commit 1514f07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/go_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
ref: ${{ env.GITHUB_REF }}
- name: "install"
run: |
go install .
go build .
pwd >> $GITHUB_PATH
- name: "run integration tests"
run: |
./bin/cicd_integration.sh
4 changes: 2 additions & 2 deletions bin/cicd_integration.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -elx

THIS_SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
cd "${THIS_SCRIPT_DIR}/.."
cd "${GITHUB_WORKSPACE} "

templ repo https://github.com/playtechnique/templ_templates

Expand All @@ -10,7 +10,7 @@ templ cat fetch

cat > release-from-tag-config.yaml << EOF
---
Output-Binary: "roflcopter"
OutputBinary: "roflcopter"
EOF

echo "Rendering release-from-tag.yaml"
Expand Down

0 comments on commit 1514f07

Please sign in to comment.