-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #100 from dhhagan/dhhagan-feature-aaar2024
Dhhagan feature aaar2024
- Loading branch information
Showing
437 changed files
with
3,525 additions
and
53,356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
name: docs/gh-pages | ||
on: | ||
create: | ||
tags: | ||
- v* | ||
on: [workflow_dispatch] | ||
|
||
jobs: | ||
build-docs: | ||
name: Build docs and push to gh-pages | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout branch | ||
uses: actions/checkout@v2 | ||
|
@@ -18,26 +15,30 @@ jobs: | |
python-version: 3.8 | ||
|
||
- name: Install poetry | ||
uses: snok/[email protected] | ||
|
||
uses: snok/install-poetry@v1 | ||
with: | ||
virtualenvs-create: true | ||
|
||
- name: Install dependencies | ||
run: poetry install | ||
run: poetry install --no-interaction | ||
|
||
- name: Install pandoc | ||
run: sudo apt-get install pandoc | ||
|
||
- name: build docs | ||
run: | | ||
source $(poetry env info --path)/activate | ||
cd docs | ||
make clean | ||
make tutorials | ||
make html | ||
cd .. | ||
- name: deploy to gh-pages | ||
uses: Cecilapp/GitHub-Pages-deploy@master | ||
uses: Cecilapp/GitHub-Pages-deploy@v3 | ||
env: | ||
EMAIL: [email protected] | ||
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }} | ||
BUILD_DIR: docs/_build/html | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
with: | ||
email: [email protected] | ||
build_dir: docs/_build/html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
name: build & release | ||
on: | ||
create: | ||
tags: | ||
- v* | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build-n-publish: | ||
name: Build and publish to PyPI | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout branch | ||
uses: actions/checkout@v2 | ||
|
@@ -18,31 +17,33 @@ jobs: | |
python-version: 3.8 | ||
|
||
- name: Install poetry | ||
uses: snok/[email protected] | ||
uses: snok/install-poetry@v1 | ||
with: | ||
virtualenvs-create: true | ||
|
||
- name: Install dependencies | ||
run: poetry install | ||
run: poetry install --no-interaction | ||
|
||
- name: Build and publish to PyPI | ||
run: | | ||
poetry build | ||
poetry publish -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} | ||
poetry publish -u __token__ -p ${{ secrets.PYPI_TOKEN }} | ||
publish-to-docker: | ||
name: Build Docker image and push to DockerHub | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: Checkout branch | ||
uses: actions/checkout@v2 | ||
# publish-to-docker: | ||
# name: Build Docker image and push to DockerHub | ||
# runs-on: ubuntu-20.04 | ||
# steps: | ||
# - name: Checkout branch | ||
# uses: actions/checkout@v2 | ||
|
||
- name: Build and deploy Docker image | ||
uses: docker/build-push-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
path: docker/ | ||
repository: dhhagan/opcsim | ||
tags: latest | ||
tag_with_ref: true | ||
# - name: Build and deploy Docker image | ||
# uses: docker/build-push-action@v1 | ||
# with: | ||
# username: ${{ secrets.DOCKER_USERNAME }} | ||
# password: ${{ secrets.DOCKER_PASSWORD }} | ||
# path: docker/ | ||
# repository: dhhagan/opcsim | ||
# tags: latest | ||
# tag_with_ref: true | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python: [3.6, 3.7, 3.8] | ||
python: ["3.8", "3.9", "3.10", "3.11"] | ||
name: Python ${{ matrix.python }} tests | ||
steps: | ||
- name: Checkout branch | ||
|
@@ -17,14 +17,16 @@ jobs: | |
python-version: ${{ matrix.python }} | ||
|
||
- name: Install poetry | ||
uses: snok/[email protected] | ||
uses: snok/install-poetry@v1 | ||
with: | ||
virtualenvs-create: true | ||
|
||
- name: Install dependencies | ||
run: poetry install | ||
run: poetry install --no-interaction | ||
|
||
- name: Run tests and generate coverage report | ||
run: | | ||
poetry run pytest --cov=./ --cov-report=xml | ||
poetry run pytest tests/ --cov=./ --cov-report=xml | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v1 | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-13.3 KB
docs/_build/doctrees/generated/opcsim.AerosolDistribution.add_mode.doctree
Binary file not shown.
Binary file removed
BIN
-16 KB
docs/_build/doctrees/generated/opcsim.AerosolDistribution.cdf.doctree
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-15.5 KB
docs/_build/doctrees/generated/opcsim.AerosolDistribution.pdf.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-10.6 KB
docs/_build/doctrees/generated/opcsim.Nephelometer.evaluate.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-11.2 KB
docs/_build/doctrees/generated/opcsim.equations.pdf.dn_dlndp.doctree
Binary file not shown.
Binary file removed
BIN
-11.1 KB
docs/_build/doctrees/generated/opcsim.equations.pdf.dn_dlogdp.doctree
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-11.1 KB
docs/_build/doctrees/generated/opcsim.equations.pdf.ds_dlndp.doctree
Binary file not shown.
Binary file removed
BIN
-11.2 KB
docs/_build/doctrees/generated/opcsim.equations.pdf.ds_dlogdp.doctree
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-11.1 KB
docs/_build/doctrees/generated/opcsim.equations.pdf.dv_dlndp.doctree
Binary file not shown.
Binary file removed
BIN
-11.1 KB
docs/_build/doctrees/generated/opcsim.equations.pdf.dv_dlogdp.doctree
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-8.5 KB
docs/_build/doctrees/generated/opcsim.metrics.compute_bin_assessment.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
docs/_build/html/_downloads/13cb4069a46ba33304b029335388ccb2/three_weights.py
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
docs/_build/html/_downloads/31c3752eb60606088278ef5490eaf0c5/build_your_own_distribution.py
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
docs/_build/html/_downloads/38f6a66fa26c245b6d331e764a788558/urban_distribution_pdf.py
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
docs/_build/html/_downloads/4841f562719faa7346b42dbebdaf7f9e/opc_with_dist.py
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
docs/_build/html/_downloads/84f7b6d52b860a99a8b3205d173df63d/cumulative_mass.py
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.