Skip to content

Commit

Permalink
ci: add composer install
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Sagi-Kazar <[email protected]>
  • Loading branch information
sagikazarmark committed Nov 17, 2024
1 parent 72dac86 commit d069765
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .dagger/tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ func (m *Test) container(name string, phpVersion string) *dagger.Container {
}).
WithExec([]string{"install-php-extensions", "bcmath"}).
WithFile("/usr/local/bin/clientcompat", m.Main.Clientcompat("")).
WithFile("/usr/local/bin/composer", dag.Container().From("composer:"+composerVersion).File("/usr/bin/composer")).
WithDirectory("/work", m.fullSourceWithCodegen(name)).
WithWorkdir("/work/").
WithExec([]string{"composer", "install"}).
WithWorkdir("/work/tests/" + name)
}

Expand Down
1 change: 1 addition & 0 deletions .dagger/versions_pinned.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const (
goVersion = "1.23.0"

defaultPhpVersion = "8.3.13"
composerVersion = "2.2.24"

twirpVersion = "v8.1.3"

Expand Down

0 comments on commit d069765

Please sign in to comment.