Skip to content

Add running test to CI workflow #1

Add running test to CI workflow

Add running test to CI workflow #1

Workflow file for this run

name: ci-for-build-and-tests
on:
push:
branches: [ "feature/ci_implement_tests" ]
pull_request:
branches: [ "main", "develop" ]
jobs:
build-package:
uses: ./.github/workflows/build-and-check-python-package.yml
with:
path: ./r8s/
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.10
- name: tests
run: tox -e py310-lambdas
- name: Upload coverage report
if: always()
uses: actions/upload-artifact@v4
with:
name: lambdas-coverage-report
path: coverage.xml
retention-days: 1
- name: Upload test report
if: always()
uses: actions/upload-artifact@v4
with:
name: lambdas-test-report
path: report.xml
retention-days: 1
- name: docker-tests
run: tox -e py310-docker
- name: Upload coverage report
if: always()
uses: actions/upload-artifact@v4
with:
name: docker-coverage-report
path: coverage.xml
retention-days: 1
- name: Upload test report
if: always()
uses: actions/upload-artifact@v4
with:
name: docker-test-report
path: report.xml
retention-days: 1