From 21817b5150524139891196ceb7b12182f19969e7 Mon Sep 17 00:00:00 2001 From: Ernest Soeralaya Date: Thu, 29 Feb 2024 13:38:09 -0600 Subject: [PATCH 1/3] update ci yaml --- .github/workflows/ci.yml | 13 +++++----- .../workflows/enforce-license-compliance.yml | 24 +++++++++---------- 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb23bd64..977ec10d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,13 +14,14 @@ jobs: python-version: '3.10' - name: Install dependencies run: pip install -r requirements.txt - - name: Run ATS - uses: codecov/codecov-ats@v0 - env: - CODECOV_STATIC_TOKEN: ${{ secrets.CODECOV_STATIC_TOKEN }} - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + # - name: Run ATS + # uses: codecov/codecov-ats@v0 + # env: + # CODECOV_STATIC_TOKEN: ${{ secrets.CODECOV_STATIC_TOKEN }} + # CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Run tests and collect coverage - run: pytest --cov app ${{ env.CODECOV_ATS_TESTS }} + # run: pytest --cov app ${{ env.CODECOV_ATS_TESTS }} + run: pytest --cov - name: Upload coverage to Codecov uses: codecov/codecov-action@v4-beta with: diff --git a/.github/workflows/enforce-license-compliance.yml b/.github/workflows/enforce-license-compliance.yml index 86be7410..c74435ef 100644 --- a/.github/workflows/enforce-license-compliance.yml +++ b/.github/workflows/enforce-license-compliance.yml @@ -1,14 +1,14 @@ -name: Enforce License Compliance +# name: Enforce License Compliance -on: - pull_request: - branches: [main, master] +# on: +# pull_request: +# branches: [main, master] -jobs: - enforce-license-compliance: - runs-on: ubuntu-latest - steps: - - name: 'Enforce License Compliance' - uses: getsentry/action-enforce-license-compliance@57ba820387a1a9315a46115ee276b2968da51f3d # main - with: - fossa_api_key: ${{ secrets.FOSSA_API_KEY }} +# jobs: +# enforce-license-compliance: +# runs-on: ubuntu-latest +# steps: +# - name: 'Enforce License Compliance' +# uses: getsentry/action-enforce-license-compliance@57ba820387a1a9315a46115ee276b2968da51f3d # main +# with: +# fossa_api_key: ${{ secrets.FOSSA_API_KEY }} From 7adfbffcab25fa300bcae344faf2865245bee1e6 Mon Sep 17 00:00:00 2001 From: Ernest Soeralaya Date: Thu, 29 Feb 2024 13:38:51 -0600 Subject: [PATCH 2/3] remove workflow --- .github/workflows/enforce-license-compliance.yml | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 .github/workflows/enforce-license-compliance.yml diff --git a/.github/workflows/enforce-license-compliance.yml b/.github/workflows/enforce-license-compliance.yml deleted file mode 100644 index c74435ef..00000000 --- a/.github/workflows/enforce-license-compliance.yml +++ /dev/null @@ -1,14 +0,0 @@ -# name: Enforce License Compliance - -# on: -# pull_request: -# branches: [main, master] - -# jobs: -# enforce-license-compliance: -# runs-on: ubuntu-latest -# steps: -# - name: 'Enforce License Compliance' -# uses: getsentry/action-enforce-license-compliance@57ba820387a1a9315a46115ee276b2968da51f3d # main -# with: -# fossa_api_key: ${{ secrets.FOSSA_API_KEY }} From ab212f621b8acb3ec15f1c8a3811f7064c467110 Mon Sep 17 00:00:00 2001 From: Ernest Soeralaya Date: Thu, 29 Feb 2024 21:39:10 -0600 Subject: [PATCH 3/3] static analysis --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 977ec10d..777d941c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,11 +14,11 @@ jobs: python-version: '3.10' - name: Install dependencies run: pip install -r requirements.txt - # - name: Run ATS - # uses: codecov/codecov-ats@v0 - # env: - # CODECOV_STATIC_TOKEN: ${{ secrets.CODECOV_STATIC_TOKEN }} - # CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + - name: Run ATS + uses: codecov/codecov-ats@v0 + env: + CODECOV_STATIC_TOKEN: ${{ secrets.CODECOV_STATIC_TOKEN }} + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Run tests and collect coverage # run: pytest --cov app ${{ env.CODECOV_ATS_TESTS }} run: pytest --cov