From 10aa21d0500bbf03b7916d857beefb496f7b0a6b Mon Sep 17 00:00:00 2001 From: Arthur Silva Sens Date: Tue, 28 Jan 2025 19:01:22 -0300 Subject: [PATCH 1/2] Add Github Actions for Golang workflows Signed-off-by: Arthur Silva Sens --- .github/workflows/go-tests.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/go-tests.yml diff --git a/.github/workflows/go-tests.yml b/.github/workflows/go-tests.yml new file mode 100644 index 0000000..fbf96ad --- /dev/null +++ b/.github/workflows/go-tests.yml @@ -0,0 +1,17 @@ +--- +name: Go Tests +on: + push: + pull_request: + +jobs: + test: + name: Go tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/setup-go@v5 + - run: cd ./src && make binaries + - run: cd ./src && go test ./... + - run: make test-impl cmd-parser-text=echo + - run: make test_open_metrics_validator \ No newline at end of file From dcf1a3845bffd82d2fd23487173870306e5f8eba Mon Sep 17 00:00:00 2001 From: Arthur Silva Sens Date: Tue, 28 Jan 2025 19:07:34 -0300 Subject: [PATCH 2/2] Add Github Actions for Python workflows Signed-off-by: Arthur Silva Sens --- .github/workflows/python-test.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/python-test.yml diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml new file mode 100644 index 0000000..e1e3367 --- /dev/null +++ b/.github/workflows/python-test.yml @@ -0,0 +1,14 @@ +--- +name: Python Tests +on: + push: + pull_request: + +jobs: + test: + name: Python tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/setup-python@v5 + - run: make test_prometheus_client_python_parser \ No newline at end of file