From d7898c6d3c8a38a563f374311ff5720f8f2b64f7 Mon Sep 17 00:00:00 2001 From: enricgrau Date: Mon, 5 Feb 2024 14:31:26 +0100 Subject: [PATCH] yaamls --- .github/workflows/codecov.yml | 17 ++++++++++++----- .github/workflows/draft-pdf.yml | 5 ++++- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 7a5e70d..fa7b27f 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -7,18 +7,25 @@ jobs: OS: ubuntu-latest PYTHON: '3.9' steps: - - uses: actions/checkout@v3.1.0 + - uses: actions/checkout@v4 with: fetch-depth: ‘2’ - name: Setup Python - uses: actions/setup-python@v4.3.0 + uses: actions/setup-python@v4.3.1 with: - python-version: 3.7 + python-version: 3.9 + - name: Generate Report run: | pip install --user -r requirements.txt pip install --user -r requirements_dev.txt coverage run -m unittest - - name: Upload Coverage to Codecov - uses: codecov/codecov-action@v3.1.1 \ No newline at end of file + + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + + #- name: Upload Coverage to Codecov + # uses: codecov/codecov-action@v3.1.1 \ No newline at end of file diff --git a/.github/workflows/draft-pdf.yml b/.github/workflows/draft-pdf.yml index db558c2..06339d5 100644 --- a/.github/workflows/draft-pdf.yml +++ b/.github/workflows/draft-pdf.yml @@ -1,3 +1,5 @@ +""" +NOT NEEDED ANYMORE. JUST COMMENTING FOR POSTERITY. on: [push] jobs: @@ -20,4 +22,5 @@ jobs: # This is the output path where Pandoc will write the compiled # PDF. Note, this should be the same directory as the input # paper.md - path: paper/paper.pdf \ No newline at end of file + path: paper/paper.pdf +""" \ No newline at end of file