Skip to content

Commit

Permalink
add continous integration
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Apr 30, 2024
1 parent 0f6e7fd commit d33993b
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/aiida.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: aiida

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: "3.11"
environment-file: environment.yml
auto-activate-base: false
- name: Tests
shell: bash -l {0}
run: |
conda install -c conda-forge papermill
papermill aiida.ipynb aiida-out.ipynb -k "python3"
26 changes: 26 additions & 0 deletions .github/workflows/jobflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: jobflow

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: "3.11"
environment-file: environment.yml
auto-activate-base: false
- name: Tests
shell: bash -l {0}
run: |
conda install -c conda-forge papermill
papermill jobflow.ipynb jobflow-out.ipynb -k "python3"
26 changes: 26 additions & 0 deletions .github/workflows/pyiron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: pyiron

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: "3.11"
environment-file: environment.yml
auto-activate-base: false
- name: Tests
shell: bash -l {0}
run: |
conda install -c conda-forge papermill
papermill pyiron_base.ipynb pyiron_base-out.ipynb -k "python3"

0 comments on commit d33993b

Please sign in to comment.