-
Notifications
You must be signed in to change notification settings - Fork 10
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 #249 from AstarVienna/dev_master
Release v0.6.0
- Loading branch information
Showing
107 changed files
with
4,212 additions
and
3,615 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,14 @@ | ||
name: Check Markdown links | ||
|
||
on: | ||
push: | ||
schedule: | ||
- # Run every day at 5:00 UTC | ||
- cron: "0 5 * * *" | ||
|
||
jobs: | ||
markdown-link-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: gaurav-nelson/github-action-markdown-link-check@v1 |
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,27 @@ | ||
name: Minimum Dependencies | ||
# Installs the minimum versions of the dependencies and runs the tests. | ||
# This test will lower the chance that users botch their installation by | ||
# only upgrading this project but not the dependencies. | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- dev_master | ||
- dev_spectroscopy | ||
pull_request: | ||
branches: | ||
- master | ||
- dev_master | ||
- dev_spectroscopy | ||
|
||
# Allows you to run this workflow manually from the Actions tab. | ||
workflow_dispatch: | ||
|
||
schedule: | ||
- # Run every day at 5:00 UTC. | ||
- cron: "0 5 * * *" | ||
|
||
jobs: | ||
call-minimum-dependencies: | ||
uses: AstarVienna/DevOps/.github/workflows/minimumdependencies.yml@master |
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,49 @@ | ||
name: Notebooks with IRDB git clone | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- dev_master | ||
- dev_spectroscopy | ||
pull_request: | ||
branches: | ||
- master | ||
- dev_master | ||
- dev_spectroscopy | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Run every night | ||
schedule: | ||
- cron: "0 2 * * *" | ||
|
||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
# Run only on a minimal subset of the matrix, as this is ran on many | ||
# commits. | ||
os: [ubuntu-latest] | ||
python-version: ['3.11'] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
# Install this version of ScopeSim. Otherwise the PyPI version of | ||
# ScopeSim will be installed when the test-requriments | ||
# are installed, because ScopeSim is a dependency of | ||
# ScopeSim_Templates. | ||
pip install . | ||
pip install .[dev,test] | ||
- name: Run notebooks | ||
run: ./runnotebooks.sh --checkout-irdb --delete |
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,41 @@ | ||
name: Notebooks with IRDB download | ||
|
||
on: | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Run every night | ||
schedule: | ||
- cron: "0 3 * * *" | ||
|
||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
# Run all operating systems, because this is the first interaction | ||
# that users have with ScopeSim / IRDB. | ||
# However, only use minimum and maximum supported Python version, | ||
# as the IRDB download often fails. | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
python-version: ['3.8', '3.11'] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
# Install this version of ScopeSim. Otherwise the PyPI version of | ||
# ScopeSim will be installed when the test-requriments | ||
# are installed, because ScopeSim is a dependency of | ||
# ScopeSim_Templates. | ||
pip install . | ||
pip install .[dev,test] | ||
- name: Run notebooks | ||
# No --checkout-irdb to download the IRDB as a normal end user would. | ||
run: ./runnotebooks.sh --delete |
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.