This repository has been archived by the owner on Oct 25, 2023. It is now read-only.
Test Invokers #263
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2021-2022 VMware, Inc. | |
# SPDX-License-Identifier: BSD-2-Clause | |
name: Test Invokers | |
on: | |
workflow_dispatch: {} | |
push: | |
paths: | |
- 'invokers/python/**' | |
- 'invokers/java/**' | |
- 'rules.mk' | |
- 'tools.mk' | |
- 'version.mk' | |
- 'invokers/Makefile' | |
- 'invokers/rules.mk' | |
schedule: | |
- cron: '0 6 * * 1' | |
jobs: | |
test-python-invoker: | |
name: Test Python Invoker | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run Python Invoker Tests | |
id: python-invoker-tests | |
run: make invokers.python.tests | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN}} | |
file: ./invokers/python/coverage.xml | |
flags: test-invokers-python | |
name: test-invoker-python | |
network_prefix: test-invoker-python | |
test-java-invoker: | |
name: Test Java Invoker | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run Java Invoker Tests | |
run: make invokers.java.tests | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN}} | |
file: ./invokers/java/target/reports/jacoco.xml | |
flags: test-invokers-java | |
name: test-invoker-java | |
network_prefix: test-invoker-java | |