From 06fb920c311e3a4c8da925585abbcd6f72e3ff12 Mon Sep 17 00:00:00 2001 From: asulis Date: Tue, 5 Nov 2024 10:27:34 +0100 Subject: [PATCH] Create CI.yml Starts creating a CI with only the docker cimpose run for integration tests --- .github/workflows/CI.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/CI.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..a6892f1 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,20 @@ +name: CI for integration tests execution and image build +on: + workflow_dispatch: + schedule: + - cron: '0 10 * * *' # every day at 10am + push: + branches: + - master + tags: + - 'v*.*.*' + pull_request: +permissions: read-all +jobs: + run-docker-compose-for-tests: + runs-on: ubuntu-latest + steps: + - name: Run compose + working-directory: ./negotiator_directory_sync/tests/compose + run: docker-compose -f docker-compose-integation-tests.yml up -d +