Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow and azure updates #82

Merged
merged 8 commits into from
Oct 2, 2023
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
46 changes: 46 additions & 0 deletions .github/workflows/doc_builds.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Add Check for the HDMF-Common-Schema and NWB-schema doc builds

on:
pull_request:

jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Clone HDMF-Common-Schema and Install Requirements
run: |
git clone https://github.com/hdmf-dev/hdmf-common-schema.git
cd hdmf-common-schema
python -m pip install -r requirements-doc.txt

- name: Build HDMF-Common-Schema Docs
run: |
cd hdmf-common-schema
cd docs
make clean
make html

- name: Clone NWB-Schema and Install Requirements
run: |
git clone https://github.com/NeurodataWithoutBorders/nwb-schema.git
cd nwb-schema
python -m pip install -r requirements-doc.txt

- name: Build NWB-Schema Docs
run: |
cd nwb-schema
cd docs/format
make clean
make html



43 changes: 26 additions & 17 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ jobs:
- job: 'StyleCheck'

pool:
vmImage: 'ubuntu-20.04'
vmImage: 'ubuntu-latest'
rly marked this conversation as resolved.
Show resolved Hide resolved

steps:

- task: UsePythonVersion@0
inputs:
versionSpec: '3.9'
versionSpec: '3.11'
architecture: 'x64'

- script: |
Expand All @@ -32,35 +32,44 @@ jobs:

strategy:
matrix:
Linux-py3.11:
imageName: 'ubuntu-latest'
pythonVersion: '3.11'
Linux-py3.10:
imageName: 'ubuntu-latest'
pythonVersion: '3.10'
Linux-py3.9:
imageName: 'ubuntu-20.04'
imageName: 'ubuntu-latest'
pythonVersion: '3.9'
Linux-py3.8:
imageName: 'ubuntu-20.04'
imageName: 'ubuntu-latest'
pythonVersion: '3.8'
Linux-py3.7:
imageName: 'ubuntu-20.04'
pythonVersion: '3.7'

macOS-py3.11:
imageName: 'macos-latest'
pythonVersion: '3.11'
macOS-py3.10:
imageName: 'macos-latest'
pythonVersion: '3.10'
macOS-py3.9:
imageName: 'macos-10.15'
imageName: 'macos-latest'
pythonVersion: '3.9'
macOS-py3.8:
imageName: 'macos-10.15'
imageName: 'macos-latest'
pythonVersion: '3.8'
macOS-py3.7:
imageName: 'macos-10.15'
pythonVersion: '3.7'

Windows-py3.11:
imageName: 'windows-latest'
pythonVersion: '3.11'
Windows-py3.10:
imageName: 'windows-latest'
pythonVersion: '3.10'
Windows-py3.9:
imageName: 'windows-2019'
imageName: 'windows-latest'
pythonVersion: '3.9'
Windows-py3.8:
imageName: 'windows-2019'
imageName: 'windows-latest'
pythonVersion: '3.8'
Windows-py3.7:
imageName: 'windows-2019'
pythonVersion: '3.7'

pool:
vmImage: $(imageName)
Expand Down