mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2024-11-27 14:15:44 +01:00
35 lines
623 B
YAML
35 lines
623 B
YAML
name: Run tests
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "master"
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
-
|
|
name: "Checkout"
|
|
uses: actions/checkout@v3
|
|
|
|
-
|
|
name: "Set up Docker Buildx"
|
|
uses: docker/setup-buildx-action@v2
|
|
|
|
-
|
|
name: "Build tests-util image"
|
|
uses: docker/build-push-action@v3
|
|
id: build
|
|
with:
|
|
context: build/tests-util/
|
|
cache-from: type=gha
|
|
cache-to: type=gha,mode=max
|
|
load: true
|
|
tags: localhost/tests-util:latest
|
|
|
|
-
|
|
name: "Run tests"
|
|
run: bin/tests
|