Skip to content

Commit

Permalink
Add integration test for resolve-environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael B. Gale committed Jun 13, 2023
1 parent 64fa96a commit 0b8c812
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 0 deletions.
72 changes: 72 additions & 0 deletions .github/workflows/__resolve-environment-action.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions pr-checks/checks/resolve-environment-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "resolve-environment-action"
description: "Tests that the resolve-environment action works for Go"
versions: ["latest"]
steps:
- uses: ./../action/init
with:
languages: go
tools: ${{ steps.prepare-test.outputs.tools-url }}

- uses: ./../action/resolve-environment
id: resolve-environment
with:
language: go

- name: "Check that some Go configuration was returned"
if: (!fromJSON(steps.resolve-environment.outputs.environment).configuration.go)
run: exit 1

0 comments on commit 0b8c812

Please sign in to comment.