mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2025-12-09 03:42:40 +01:00
Add tests
This commit is contained in:
8
.github/dependabot.yml
vendored
8
.github/dependabot.yml
vendored
@@ -24,3 +24,11 @@ updates:
|
||||
interval: "weekly"
|
||||
assignees:
|
||||
- "xZero707"
|
||||
|
||||
# Maintain Docker image dependencies for tests-util (build)
|
||||
- package-ecosystem: "docker"
|
||||
directory: "/build/tests-util"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
assignees:
|
||||
- "xZero707"
|
||||
32
.github/workflows/tests.yml
vendored
Normal file
32
.github/workflows/tests.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
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
|
||||
Reference in New Issue
Block a user