Skip to content

Commit

Permalink
Merge pull request #19 from conda-incubator/add-code-cov-report
Browse files Browse the repository at this point in the history
Add Codecov report
  • Loading branch information
travishathaway authored Oct 9, 2023
2 parents f9be635 + e23116d commit cc2e03c
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 22 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,14 @@ jobs:
- name: Test with pytest
shell: pwsh
run: |
pytest --doctest-modules
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
Expand Down Expand Up @@ -130,4 +137,11 @@ 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
with:
flags: ${{ runner.os }},${{ matrix.python-version }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
28 changes: 13 additions & 15 deletions docs/dev/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
<!--
Populate these categories as PRs are merged to `main`. When a release is cut,
Expand All @@ -13,24 +13,22 @@ Remember to update the hyperlinks at the bottom.

[//]: # (current developments)

## 0.0.1 (2023-??-??)
## 0.0.1 (2023-10-04)

### Enhancements
This is the initial release for conda auth. It includes the following pieces of work:

* Add support for HTTP Basic Authentication (#5)
* Create login/logout commands (#2)
* Create a documentation website (#6)
* Setup testing infrastructure (#3)
## What's Changed
* Update recipe metadata and license by @jezdez in [#1](https://github.com/conda-incubator/conda-auth/pull/1)
* Adds login/logout commands by @travishathaway in [#8](https://github.com/conda-incubator/conda-auth/pull/8)
* Implement HTTP Basic Authentication by @travishathaway in [#11](https://github.com/conda-incubator/conda-auth/pull/11)
* Setup testing infrastructure by @travishathaway in [#12](https://github.com/conda-incubator/conda-auth/pull/12)
* Adding a documentation website by @travishathaway in [#13](https://github.com/conda-incubator/conda-auth/pull/13)

### Bug fixes
## New Contributors
* @jezdez made their first contribution in [#1](https://github.com/conda-incubator/conda-auth/pull/1)
* @travishathaway made their first contribution in [#8](https://github.com/conda-incubator/conda-auth/pull/8)

n/a (first release! 😅)

### Contributors

* @travishathaway
* @jezdez
* @ForgottenProgramme
**Full Changelog**: https://github.com/conda-incubator/conda-auth/commits/0.0.1

<!-- Hyperlinks --->

Expand Down
12 changes: 7 additions & 5 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -34,12 +37,11 @@ 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

extra:
recipe-maintainers:
- travishathaway
- jezdez
- kenodegard

0 comments on commit cc2e03c

Please sign in to comment.