Skip to content

Commit

Permalink
Conda package (#24)
Browse files Browse the repository at this point in the history
* feat : publish_conda.yaml added

* doc : conda installation added to README.md

* doc : CHANGELOG updated

* fix : minor bug in codecov.yml fixed
  • Loading branch information
sepandhaghighi authored Jul 8, 2023
1 parent 00f0c38 commit 5ff9be3
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/publish_conda.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: publish_conda

on:
push:
# Sequence of patterns matched against refs/tags
tags:
- '*' # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: publish-to-conda
uses: sepandhaghighi/[email protected]
with:
subDir: 'others'
AnacondaToken: ${{ secrets.ANACONDA_TOKEN }}
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
### Added
- Logo
- Anaconda package
### Changed
- `quote` decorator bug fixed
- `path_check` decorator bug fixed
- Test system modified
- `README.md` modified
## [0.1] - 2023-06-10
### Added
- `README.md`
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,18 @@ Nava is a Python library that allows users to play sound in Python without any d
### PyPI

- Check [Python Packaging User Guide](https://packaging.python.org/installing/)
- Run `pip install nava==0.1` (Need root access)
- Run `pip install nava==0.1`

### Source code
- Download [Version 0.1](https://github.com/openscilab/nava/archive/v0.1.zip) or [Latest Source](https://github.com/openscilab/nava/archive/dev.zip)
- Run `pip install .`

### Conda

- Check [Conda Managing Package](https://conda.io/)
- Update Conda using `conda update conda`
- Run `conda install -c openscilab nava`

## Usage

### Basic
Expand Down
3 changes: 3 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
codecov:
require_ci_to_pass: yes
notify:
after_n_builds: 3
wait_for_ci: yes

coverage:
precision: 2
Expand Down

0 comments on commit 5ff9be3

Please sign in to comment.