Add integration test for resolve-environment
This commit is contained in:
parent
64fa96a8b3
commit
0b8c8128cf
2 changed files with 89 additions and 0 deletions
17
pr-checks/checks/resolve-environment-action.yml
Normal file
17
pr-checks/checks/resolve-environment-action.yml
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue