From bd50a43143fc171a48b9251a203e3504914d7a55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81=20Laugks?= Date: Sat, 2 Nov 2024 19:08:12 +0100 Subject: [PATCH] Add github workflow --- .github/workflows/tests.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..a2ba704 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,21 @@ +name: "Tests" +run-name: Tests [${{ github.ref_name }}] +on: + push: + branches: + - main + - dev + - property-normalizer + workflow_dispatch: +jobs: + tests: + name: Tests + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + + - name: "Run Tests" + run: | + docker compose up -d + docker exec article_symfony_serializer composer install + docker exec article_symfony_serializer bin/phpunit