Skip to content

Use conda #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up Python 3.8
uses: actions/setup-python@v2
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.8

- name: Install dependencies
run: |
python -m pip install -r requirements.txt
channels: conda-forge,nodefaults
channel-priority: strict
mamba-version: '*'
activate-environment: pythia
auto-update-conda: false
python-version: 3.9
environment-file: ci/environment.yml
use-only-tar-bz2: true

- name: Build
run: |
Expand Down
13 changes: 7 additions & 6 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Required
version: 2

sphinx:
configuration: content/conf.py
build:
image: latest

conda:
environment: ci/environment.yml

python:
version: 3.8
install:
- requirements: requirements.txt
sphinx:
fail_on_warning: false
3 changes: 2 additions & 1 deletion ci/environment.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: pythia
channels:
- conda-forge
- nodefaults
dependencies:
- myst-nb==0.10.1
- myst-nb==0.12.3
- sphinx-book-theme
- sphinx-panels
- matplotlib
Expand Down
6 changes: 0 additions & 6 deletions requirements.txt

This file was deleted.