Add test for the old broken parser

This commit is contained in:
Christopher Homberger
2022-11-23 22:56:55 +01:00
parent f9f275e847
commit 033b4f6dbf
2 changed files with 14 additions and 0 deletions

View File

@@ -173,6 +173,7 @@ func TestRunEvent(t *testing.T) {
{workdir, "env-and-path", "push", "", platforms},
{workdir, "environment-files", "push", "", platforms},
{workdir, "GITHUB_STATE", "push", "", platforms},
{workdir, "environment-files-parser-bug", "push", "", platforms},
{workdir, "non-existent-action", "push", "Job 'nopanic' failed", platforms},
{workdir, "outputs", "push", "", platforms},
{workdir, "networking", "push", "", platforms},

View File

@@ -0,0 +1,13 @@
on: push
jobs:
_:
runs-on: ubuntu-latest
steps:
- run: |
echo "test<<World" > $GITHUB_ENV
echo "x=Thats really Weird" >> $GITHUB_ENV
echo "World" >> $GITHUB_ENV
- if: env.test != 'x=Thats really Weird'
run: exit 1
- if: env.x == 'Thats really Weird' # This assert is triggered by the broken impl of act
run: exit 1