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
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
auto-update-conda: false
python-version: ${{ matrix.python-version }}
channels: conda-forge,nodefaults
mamba-version: "*"
miniforge-variant: Mambaforge

- name: Install core dependencies.
shell: bash -l {0}
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:

# Package dependencies
- pytask >= 0.3
- pytask-parallel >= 0.1
- pytask-parallel >= 0.3
- latex-dependency-scanner >=0.1.1
- pybaum >=0.1.1

Expand Down
7 changes: 4 additions & 3 deletions tests/test_execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@
from pathlib import Path

import pytest
from conftest import needs_latexmk
from conftest import skip_on_github_actions_with_win
from conftest import TEST_RESOURCES
from pytask import cli
from pytask import ExitCode
from pytask import main
from pytask import Mark
from pytask import Task
from pytask_latex.execute import pytask_execute_task_setup

from tests.conftest import needs_latexmk
from tests.conftest import skip_on_github_actions_with_win
from tests.conftest import TEST_RESOURCES


@pytest.mark.unit()
def test_pytask_execute_task_setup(monkeypatch):
Expand Down
5 changes: 3 additions & 2 deletions tests/test_latex_dependency_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
import textwrap

import pytest
from conftest import needs_latexmk
from conftest import skip_on_github_actions_with_win
from pytask import ExitCode
from pytask import main

from tests.conftest import needs_latexmk
from tests.conftest import skip_on_github_actions_with_win


@needs_latexmk
@skip_on_github_actions_with_win
Expand Down
5 changes: 3 additions & 2 deletions tests/test_parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
import time

import pytest
from conftest import needs_latexmk
from conftest import skip_on_github_actions_with_win
from pytask import cli
from pytask import ExitCode

from tests.conftest import needs_latexmk
from tests.conftest import skip_on_github_actions_with_win


try:
import pytask_parallel # noqa: F401
Expand Down
5 changes: 3 additions & 2 deletions tests/test_parametrize.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
import textwrap

import pytest
from conftest import needs_latexmk
from conftest import skip_on_github_actions_with_win
from pytask import ExitCode
from pytask import main

from tests.conftest import needs_latexmk
from tests.conftest import skip_on_github_actions_with_win


@needs_latexmk
@skip_on_github_actions_with_win
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ basepython = python

[testenv:pytest]
conda_deps =
pytask >=0.2
pytask-parallel >=0.1
pytask >=0.3
pytask-parallel >=0.3
latex-dependency-scanner
pytest
pytest-cov
Expand Down