Skip to content

Commit bbd4ce4

Browse files
authored
Make codecov run again, update README (#78)
1 parent 873b348 commit bbd4ce4

2 files changed

Lines changed: 47 additions & 5 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
- name: Upload coverage report
4040
if: runner.os == 'Linux' && matrix.python-version == '3.12'
4141
uses: codecov/codecov-action@v4
42+
env:
43+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4244
# run-mypy:
4345
# name: Run mypy on Python 3.12
4446
# runs-on: ubuntu-latest

README.md

Lines changed: 45 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,59 @@ estimators were proposed. None of them is implemented in standard econometrics p
88

99
## Installation
1010

11-
The package can be installed via conda. To do so, type the following in a terminal:
11+
> **Warning:** To run skillmodels you need to install jax and jaxlib. At the time of
12+
> writing, in most use cases, it is faster on a CPU than on a GPU, so it should be
13+
> sufficient to install the CPU version, which is available on all platforms. In any
14+
> case, for installation of jax and jaxlib, please consult the jax
15+
> [docs](https://jax.readthedocs.io/en/latest/installation.html#supported-platforms).
1216
13-
conda config --add channels conda-forge conda install skillmodels
17+
Skillmodels can be installed via PyPI or via GitHub. To do so, type the following in a
18+
terminal:
19+
20+
```console
21+
$ pip install skillmodels
22+
```
23+
24+
or, for the latest development version, type:
25+
26+
```console
27+
$ pip install git+https://github.com/OpenSourceEconomics/skillmodels.git
28+
```
1429

1530
## Documentation
1631

1732
[The documentation is hosted at readthedocs](https://skillmodels.readthedocs.io/en/latest/)
1833

19-
Alternatively, you can build it locally. After cloning the repository you can cd to the
20-
docs directory and type:
34+
## Developing
35+
36+
We use [pixi](https://pixi.sh/latest/) for our local development environment. If you
37+
want to work with or extend the skillmodels code base you can run the tests using
2138

39+
```console
40+
$ git clone https://github.com/OpenSourceEconomics/skillmodels.git
41+
$ pixi run tests
2242
```
23-
make html
43+
44+
This will install the development environment and run the tests. You can run
45+
[mypy](https://mypy-lang.org/) using
46+
47+
```console
48+
$ pixi run mypy
49+
```
50+
51+
Before committing, install the pre-commit hooks using
52+
53+
```console
54+
$ pre-commit install
55+
```
56+
57+
#### Documentation
58+
59+
You can build the documentation locally. After cloning the repository you can cd to the
60+
docs directory and type:
61+
62+
```console
63+
$ make html
2464
```
2565

2666
## Citation

0 commit comments

Comments
 (0)