-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
999d649
commit 0415d47
Showing
3 changed files
with
156 additions
and
1 deletion.
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,68 @@ | ||
name: Run combined tests for fine, geokit, glaes and reskit | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
tags: | ||
description: 'Manual run' | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
# Allows to trigger the workflow manually | ||
|
||
schedule: | ||
# * is a special character in YAML so you have to quote this string | ||
# Some Examples for cron syntax https://crontab.guru/examples.html | ||
# Schedules job at any point after 12 pm | ||
- cron: '0 0 * * *' | ||
# Weekly after sunday | ||
# - cron: 0 0 * * 0 | ||
|
||
jobs: | ||
TestCombinedInstalaltions: | ||
name: Ex1 (${{ matrix.python-version }}, ${{ matrix.os }}) | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: ["ubuntu-latest","ubuntu-20.04", "macos-latest","macos-13","macos-12", "macos-11","windows-latest","windows-2019"] | ||
steps: | ||
- name: Checkout Fine | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: FZJ-IEK3-VSA/FINE | ||
path: './fine' | ||
- name: Checkout geokit | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: FZJ-IEK3-VSA/geokit | ||
path: './geokit' | ||
- name: Checkout glaes | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: FZJ-IEK3-VSA/glaes | ||
path: './glaes' | ||
- name: Checkout Reskit | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: FZJ-IEK3-VSA/RESKit | ||
path: './reskit' | ||
- uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
miniforge-version: latest | ||
channels: conda-forge | ||
activate-environment: test_env | ||
- name: Run tests | ||
shell: pwsh | ||
run: | | ||
ls | ||
echo "LS Done" | ||
mamba install fine geokit glaes reskit pytest | ||
echo "Installation done" | ||
conda list | ||
echo "libaries printed" | ||
echo "start pytest" | ||
pytest | ||
echo "Pytest done" |
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,85 @@ | ||
name: Run combined tests for geokit | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
tags: | ||
description: 'Manual run' | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
# Allows to trigger the workflow manually | ||
|
||
schedule: | ||
# * is a special character in YAML so you have to quote this string | ||
# Some Examples for cron syntax https://crontab.guru/examples.html | ||
# Schedules job at any point after 12 pm | ||
- cron: '0 0 * * *' | ||
# Weekly after sunday | ||
# - cron: 0 0 * * 0 | ||
|
||
jobs: | ||
TestGeokitCondaForge: | ||
name: Ex1 (${{ matrix.python-version }}, ${{ matrix.os }}) | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: ["ubuntu-latest","ubuntu-20.04", "macos-latest","macos-13","macos-12", "macos-11","windows-latest","windows-2019"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: FZJ-IEK3-VSA/geokit | ||
path: './geokit' | ||
- uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
miniforge-version: latest | ||
channels: conda-forge | ||
activate-environment: test_env | ||
- name: Run tests | ||
shell: pwsh | ||
run: | | ||
ls | ||
echo "LS Done" | ||
mamba install -n test_env geokit pytest | ||
echo "Installation done" | ||
conda list | ||
echo "libaries printed" | ||
echo "start pytest" | ||
conda run -n test_env pytest | ||
echo "Pytest done" | ||
TestGeokitDevLocal: | ||
name: Ex1 (${{ matrix.python-version }}, ${{ matrix.os }}) | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: ["ubuntu-latest","ubuntu-20.04", "macos-latest","macos-13","macos-12", "macos-11","windows-latest","windows-2019"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: FZJ-IEK3-VSA/geokit | ||
path: './geokit' | ||
- uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
miniforge-version: latest | ||
channels: conda-forge | ||
activate-environment: test_env | ||
- name: Run tests | ||
shell: pwsh | ||
run: | | ||
ls | ||
echo "LS Done" | ||
cd ETHOS_PENALPS | ||
mamba env create --name geokit_env --yes --file requirements-dev.yml | ||
conda run --name geokit_env pip install . --no-deps | ||
echo "Installation done" | ||
conda list --name geokit_env | ||
echo "libaries printed" | ||
echo "start pytest" | ||
conda run --name geokit_env pytest | ||
echo "Pytest done" |
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
# ETHOS_Suite_Test_Orchestrator | ||
Test the combined instalaltion of various IEK-3 Libaries | ||
Test the combined installation of various IEK-3 libraries on a daily basis. | ||
|
||
![example workflow](https://github.com/FZJ-IEK3-VSA/ETHOS_Suite_Test_Orchestrator/actions/workflows/test_combined.yml/badge.svg) |