Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodegard committed Apr 16, 2024
1 parent 210226e commit 1423184
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 40 deletions.
18 changes: 7 additions & 11 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
# 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:
- package-ecosystem: "pip"
directory: "/docs/"
- package-ecosystem: pip
directory: /docs/
schedule:
interval: "weekly"
interval: weekly
allow:
# Allow only production updates for Sphinx
- dependency-name: "sphinx"
dependency-type: "production"
- dependency-name: sphinx
dependency-type: production
- package-ecosystem: github-actions
directory: /.github/workflows
schedule:
interval: "weekly"
interval: weekly
14 changes: 7 additions & 7 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
# Builds
- name: build::review
description: trigger a build for this PR
color: '#7b4052'
- name: build::review
description: trigger a build for this PR
color: '#7b4052'

# Tags
- name: tag::noarch
description: related to noarch builds
color: '#86c579'
aliases: []
- name: tag::noarch
description: related to noarch builds
color: '#86c579'
13 changes: 7 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: CI docs

on:
Expand All @@ -7,15 +8,15 @@ on:
branches:
- main
paths:
- '.github/workflows/docs.yml'
- 'docs/**'
- .github/workflows/docs.yml
- docs/**

# NOTE: github.event context is pull_request payload:
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request
pull_request:
paths:
- '.github/workflows/docs.yml'
- 'docs/**'
- .github/workflows/docs.yml
- docs/**

jobs:
docs:
Expand All @@ -26,9 +27,9 @@ jobs:
with:
fetch-depth: 0
- name: Setup
run : |
run: |
make env-docs
- name: Build the docs
run : |
run: |
cd docs
conda run --name conda-build-docs make html
24 changes: 16 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Tests

on:
Expand All @@ -18,7 +19,7 @@ on:
# no payload
schedule:
# https://crontab.guru/#37_18_*_*_*
- cron: 37 18 * * *
- cron: 37 18 * * *

concurrency:
# Concurrency group that uses the workflow name and PR number if available
Expand Down Expand Up @@ -122,7 +123,8 @@ jobs:
run-post: false # skip post cleanup

- name: Conda Install
run: conda install
run: >
conda install
--yes
--file tests/requirements.txt
--file tests/requirements-${{ runner.os }}.txt
Expand All @@ -142,7 +144,8 @@ jobs:
run: conda list --show-channel-urls

- name: Run Tests
run: pytest
run: >
pytest
--cov=conda_build
-n auto
-m "${{ env.PYTEST_MARKER }}"
Expand Down Expand Up @@ -200,7 +203,8 @@ jobs:
run-post: false # skip post cleanup

- name: Conda Install
run: conda install
run: >
conda install
--yes
--file tests/requirements.txt
--file tests/requirements-${{ runner.os }}.txt
Expand Down Expand Up @@ -283,7 +287,8 @@ jobs:
run: choco install visualstudio2017-workload-vctools

- name: Conda Install
run: conda install
run: >
conda install
--yes
--file tests\requirements.txt
--file tests\requirements-${{ runner.os }}.txt
Expand All @@ -305,7 +310,8 @@ jobs:
- name: Run Tests
# Windows is sensitive to long paths, using `--basetemp=${{ runner.temp }} to
# keep the test directories shorter
run: pytest
run: >
pytest
--cov=conda_build
--basetemp=${{ runner.temp }}
-n auto
Expand Down Expand Up @@ -380,7 +386,8 @@ jobs:
run: sudo xcode-select --switch /Applications/Xcode_11.7.app

- name: Conda Install
run: conda install
run: >
conda install
--yes
--file tests/requirements.txt
--file tests/requirements-${{ runner.os }}.txt
Expand All @@ -400,7 +407,8 @@ jobs:
run: conda list --show-channel-urls

- name: Run Tests
run: pytest
run: >
pytest
--cov=conda_build
-n auto
-m "${{ env.PYTEST_MARKER }}"
Expand Down
7 changes: 4 additions & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
version: 2

build:
os: "ubuntu-22.04"
os: ubuntu-22.04
tools:
python: "3.11"
python: '3.11'

python:
install:
- requirements: docs/requirements.txt
- requirements: docs/requirements.txt

# Build PDF, ePub and zipped HTML
formats:
Expand Down
11 changes: 6 additions & 5 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
python:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'

0 comments on commit 1423184

Please sign in to comment.