From 470ae2ecdc81ae0a189b0982cb1083e83dc56f29 Mon Sep 17 00:00:00 2001 From: Benjamin Alan Weaver Date: Thu, 9 Jan 2025 11:07:13 -0700 Subject: [PATCH] add coveralls support --- .github/workflows/CI.yml | 16 ++++++++-------- README.md | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3144b46..ff3103d 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -62,14 +62,14 @@ jobs: python -m pip install "apache-airflow${{ matrix.airflow-version }}" - name: Run the test with coverage run: pytest --cov - # - name: Coveralls - # # uses: coverallsapp/github-action@v1.1.2 - # # with: - # # github-token: ${{ secrets.GITHUB_TOKEN }} - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} - # run: coveralls + - name: Coveralls + # uses: coverallsapp/github-action@v1.1.2 + # with: + # github-token: ${{ secrets.GITHUB_TOKEN }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + run: coveralls docs: name: Doc test diff --git a/README.md b/README.md index 6bf06a1..6189dd8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # dlairflow -[![CI](https://github.com/astro-datalab/dlairflow/actions/workflows/CI.yml/badge.svg)](https://github.com/astro-datalab/dlairflow/actions/workflows/CI.yml) [![RTD](https://readthedocs.org/projects/dlairflow/badge/?version=latest)](https://dlairflow.readthedocs.io/en/latest/) +[![CI](https://github.com/astro-datalab/dlairflow/actions/workflows/CI.yml/badge.svg)](https://github.com/astro-datalab/dlairflow/actions/workflows/CI.yml) [![Coverage Status](https://coveralls.io/repos/github/astro-datalab/dlairflow/badge.svg?branch=main)](https://coveralls.io/github/astro-datalab/dlairflow?branch=main) [![RTD](https://readthedocs.org/projects/dlairflow/badge/?version=latest)](https://dlairflow.readthedocs.io/en/latest/) Reusable code components for building Apache Airflow DAGs.