Skip to content

Commit

Permalink
Merge pull request #91 from roocs/update_dachar
Browse files Browse the repository at this point in the history
Update dachar
  • Loading branch information
ellesmith88 authored Jun 16, 2021
2 parents 378c08e + bcd97fb commit c9f2d70
Show file tree
Hide file tree
Showing 34 changed files with 472 additions and 395 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: build

on: [ push, pull_request ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Install packages
run: |
sudo apt-get -y install pandoc
if: matrix.python-version == 3.6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
# pip install flake8 black pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi
- name: Lint with flake8
run: flake8 dachar tests
if: matrix.python-version == 3.6
- name: Check formatting with black
run: black --check --target-version py36 dachar tests
if: matrix.python-version == 3.6
- name: Test with pytest
run: |
pytest -v tests
- name: Build docs 🏗️
run: make docs
if: matrix.python-version == 3.6
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,6 @@ default.profraw

# PyCharm
.idea

# scan output
scan_output/
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
[submodule "tests/mini-esgf-data"]
path = tests/mini-esgf-data
url = https://github.com/roocs/mini-esgf-data.git
35 changes: 35 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml

# Optionally build your docs in additional formats such as PDF and ePub
formats: all

# Optionally set the version of Python and requirements required to build your docs
#python:
# version: 3.6
python:
version: 3.6
install:
- method: pip
path: .
extra_requirements:
- docs


# conda:
# environment: docs/environment.yml

build:
image: stable
136 changes: 0 additions & 136 deletions .travis.yml

This file was deleted.

9 changes: 0 additions & 9 deletions AUTHORS.md

This file was deleted.

14 changes: 14 additions & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

Credits
=======

Developers
----------


* Elle Smith [email protected]

Contributors
------------

None yet. Why not be the first?
Loading

0 comments on commit c9f2d70

Please sign in to comment.