diff --git a/.github/.dependabot.yaml b/.github/.dependabot.yaml new file mode 100644 index 0000000..94ef9b9 --- /dev/null +++ b/.github/.dependabot.yaml @@ -0,0 +1,18 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + # Maintain dependencies for pip + - package-ecosystem: "pip" + directory: "/" # Location of package manifests + schedule: + interval: "daily" + + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" \ No newline at end of file diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index ba1e21a..2439e5e 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -17,15 +17,17 @@ jobs: steps: - name: Git clone - uses: actions/checkout@v2 - - name: Set up virtual environment - uses: conda-incubator/setup-miniconda@v2 + uses: actions/checkout@v4 + - name: Setup Python + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} channels: defaults, conda-forge - name: Install dependencies - run: conda install numpy scipy scikit-learn codecov pytest-cov + run: | + python -m pip install --upgrade pip setuptools + pip install .[dev] - name: Test with pytest run: pytest -v --cov=tclf --pyargs tclf - name: Code coverage - run: codecov + run: codecov \ No newline at end of file