Skip to content
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
6 changes: 3 additions & 3 deletions .github/workflows/build-ultraplot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

- name: Test Ultraplot
run: |
pytest -n auto --cov=ultraplot --cov-branch --cov-report term-missing --cov-report=xml ultraplot
pytest --cov=ultraplot --cov-branch --cov-report term-missing --cov-report=xml ultraplot

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
Expand Down Expand Up @@ -76,14 +76,14 @@ jobs:
git fetch origin ${{ github.event.pull_request.base.sha }}
git checkout ${{ github.event.pull_request.base.sha }}
python -c "import ultraplot as plt; plt.config.Configurator()._save_yaml('ultraplot.yml')"
pytest -n auto -W ignore --mpl-generate-path=baseline --mpl-default-style="./ultraplot.yml"
pytest -W ignore --mpl-generate-path=baseline --mpl-default-style="./ultraplot.yml"
git checkout ${{ github.sha }} # Return to PR branch

- name: Image Comparison Ultraplot
run: |
mkdir -p results
python -c "import ultraplot as plt; plt.config.Configurator()._save_yaml('ultraplot.yml')"
pytest -n auto -W ignore --mpl --mpl-baseline-path=baseline --mpl-generate-summary=html --mpl-results-path=./results/ --mpl-default-style="./ultraplot.yml" --store-failed-only ultraplot/tests
pytest -W ignore --mpl --mpl-baseline-path=baseline --mpl-generate-summary=html --mpl-results-path=./results/ --mpl-default-style="./ultraplot.yml" --store-failed-only ultraplot/tests

# Return the html output of the comparison even if failed
- name: Upload comparison failures
Expand Down
35 changes: 17 additions & 18 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,31 @@ name: ultraplot-dev
channels:
- conda-forge
dependencies:
- basemap >=1.4.1
- cartopy
- jupyter
- jupytext
- matplotlib>=3.9
- nbsphinx
- networkx
- python>=3.10,<3.14
- numpy
- matplotlib>=3.9
- cartopy
- xarray
- seaborn
- pandas
- pint
- pip
- pre-commit
- pyarrow
- pytest
- pytest-cov
- pytest-mpl
- pytest-xdist
- python>=3.10,<3.14
- seaborn
- pytest-cov
- jupyter
- pip
- pint
- sphinx
- nbsphinx
- jupytext
- sphinx-copybutton
- sphinx-autoapi
- sphinx-automodapi
- sphinx-copybutton
- sphinx-design
- sphinx-rtd-theme
- typing-extensions
- xarray
- basemap >=1.4.1
- pre-commit
- sphinx-design
- networkx
- pyarrow
- pip:
- git+https://github.com/ultraplot/UltraTheme.git
Loading
Loading