From 1e6b4d5e0355e67a2764efedcbdece33fff4e837 Mon Sep 17 00:00:00 2001 From: Travis Hathaway Date: Fri, 6 Oct 2023 10:35:48 +0200 Subject: [PATCH 1/4] updating recipe --- recipe/meta.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 087ff41..cc46570 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -6,8 +6,8 @@ package: version: {{ version }} source: - url: https://github.com/conda-incubataor/{{ name }}/archive/refs/tags/{{ version}}.tar.gz - sha256: 99f5b48d457d8983cc9727d1629722cffbf26302176bbf83d6b757096156a12c + url: https://github.com/conda-incubator/{{ name }}/archive/refs/tags/{{ version}}.tar.gz + sha256: ed3dfb20d3149ff5f2dbd7f8526cc6db254819d26f923a31c883180f8fd21f8a build: noarch: python @@ -18,11 +18,14 @@ requirements: host: - python >=3.8,<4.0 - pip + - setuptools-scm run: - python >=3.8.1,<4.0.0 - - conda + - click + - conda >=23.9.0 - keyring - requests + - ruamel.yaml test: imports: @@ -34,7 +37,7 @@ test: about: home: https://github.com/conda-incubator/conda-auth - summary: Conda plugin for various conda auth handlers + summary: Conda plugin for improved access to private channels license: BSD-3-Clause license_file: LICENSE @@ -42,4 +45,3 @@ extra: recipe-maintainers: - travishathaway - jezdez - - kenodegard From 17dffef74009d5e1a319c907d3d864b53fbea7d2 Mon Sep 17 00:00:00 2001 From: Travis Hathaway Date: Fri, 6 Oct 2023 10:37:07 +0200 Subject: [PATCH 2/4] updating changelog --- docs/dev/changelog.md | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/docs/dev/changelog.md b/docs/dev/changelog.md index 661bd37..fd45268 100644 --- a/docs/dev/changelog.md +++ b/docs/dev/changelog.md @@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file. > The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -> and this project adheres to [Semantic Versioning](https://semver.org/) in the `MAJOR.MINOR.PATCH`format. +> and this project adheres to [Zero Versioning](https://0ver.org/) in the `ZERO.RELEASE.PATCH`format. From b36bb0bfb5662206211bd3028b5c30afebdb46dc Mon Sep 17 00:00:00 2001 From: Travis Hathaway Date: Mon, 9 Oct 2023 14:22:30 +0200 Subject: [PATCH 3/4] adding codecov report --- .github/workflows/tests.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 34ae77f..3e116fa 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -83,7 +83,7 @@ jobs: - name: Test with pytest shell: pwsh run: | - pytest --doctest-modules + pytest --doctest-modules --cov-report=xml --cov=conda_auth unix-like: needs: changes @@ -130,4 +130,9 @@ jobs: - name: Test with pytest shell: micromamba-shell {0} run: | - pytest --doctest-modules + pytest --doctest-modules --cov-report=xml --cov=conda_auth + + - name: Upload Coverage to Codecov + uses: codecov/codecov-action@v2 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From e23116dba46d4fad3b0c0c42955ac5d4b6f1b041 Mon Sep 17 00:00:00 2001 From: Travis Hathaway Date: Mon, 9 Oct 2023 14:28:04 +0200 Subject: [PATCH 4/4] adding some more data to the coverage reports --- .github/workflows/tests.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3e116fa..20d34d3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -85,6 +85,13 @@ jobs: run: | pytest --doctest-modules --cov-report=xml --cov=conda_auth + - name: Upload Coverage to Codecov + uses: codecov/codecov-action@v2 + with: + flags: ${{ runner.os }},${{ matrix.python-version }} + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + unix-like: needs: changes if: needs.changes.outputs.code == 'true' @@ -134,5 +141,7 @@ jobs: - name: Upload Coverage to Codecov uses: codecov/codecov-action@v2 + with: + flags: ${{ runner.os }},${{ matrix.python-version }} env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}