-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #524 from JrGoodle/config
Add clowder config command
- Loading branch information
Showing
73 changed files
with
1,998 additions
and
552 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: 'CI - cats config' | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- 'docs/**' | ||
pull_request: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- 'docs/**' | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
cats_config: | ||
env: | ||
PYTHON_VERSION: ${{ matrix.python-version }} | ||
OS_NAME: ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [macos-latest, ubuntu-latest] # TODO: windows-latest | ||
python-version: ['3.6', '3.7', '3.8'] | ||
exclude: | ||
- os: macos-latest | ||
python-version: '3.6' | ||
- os: macos-latest | ||
python-version: '3.8' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Setup git config | ||
run: | ||
git config --global user.email "joe@polka.cat"; | ||
git config --global user.name "GitHub Actions Workflow" | ||
- name: Install clowder requirements | ||
run: pip3 install -r src/requirements.txt | ||
- name: CI before script | ||
run: script/ci_before | ||
- name: Install clowder | ||
run: script/update | ||
- name: Install clowder test | ||
run: script/test | ||
- name: Test config commands | ||
run: clowder-test -c cats config | ||
- name: CI after script | ||
run: script/ci_after |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: 'CI - config yaml validation' | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- 'docs/**' | ||
pull_request: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- 'docs/**' | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
config_yaml_validation: | ||
env: | ||
PYTHON_VERSION: ${{ matrix.python-version }} | ||
OS_NAME: ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [macos-latest, ubuntu-latest] # TODO: windows-latest | ||
python-version: ['3.6', '3.7'] # '3.8' # TODO: Fix json generation on Python 3.8 | ||
exclude: | ||
- os: macos-latest | ||
python-version: '3.6' | ||
- os: macos-latest | ||
python-version: '3.8' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Setup git config | ||
run: | ||
git config --global user.email "joe@polka.cat"; | ||
git config --global user.name "GitHub Actions Workflow" | ||
- name: Install clowder requirements | ||
run: pip3 install -r src/requirements.txt | ||
- name: CI before script | ||
run: script/ci_before | ||
- name: Install clowder | ||
run: script/update | ||
- name: Install clowder test | ||
run: script/test | ||
- name: Test config yaml validation | ||
run: clowder-test -c config-yaml-validation | ||
- name: CI after script | ||
run: script/ci_after |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.