Skip to content
GitLab
Explore
Sign in
Andreas Klöckner
leap
Compare revisions
e63d15548c8f2fb06484d35b54c2d346c4609a21 to d0856234a830582181da2f14bcfc76cdfd95add0
Commits on Source (5)
Add conda CI jobs
· af427645
Andreas Klöckner
authored
May 12, 2021
and
Andreas Klöckner
committed
May 12, 2021
af427645
Bump CI Python versions to 3.6, 3.8, 3.x
· 9eff8b6c
Andreas Klöckner
authored
May 12, 2021
and
Andreas Klöckner
committed
May 12, 2021
9eff8b6c
Fix ci-support URL typo
· 73e6c1da
Andreas Klöckner
authored
May 12, 2021
and
Andreas Klöckner
committed
May 12, 2021
73e6c1da
Oops: Actually add conda env file for CI
· 597d7e74
Andreas Klöckner
authored
May 12, 2021
and
Andreas Klöckner
committed
May 12, 2021
597d7e74
Conda Github CI: Install matplotlib
· d0856234
Andreas Klöckner
authored
May 12, 2021
and
Andreas Klöckner
committed
May 12, 2021
d0856234
Hide whitespace changes
Inline
Side-by-side
.github/workflows/ci.yml
View file @
d0856234
...
...
@@ -44,7 +44,7 @@ jobs:
runs-on
:
ubuntu-latest
strategy
:
matrix
:
python-version
:
[
3.6
,
3.
7
,
3.
8
]
python-version
:
[
"
3.6
"
,
"
3.
8"
,
"
3.
x"
]
steps
:
-
uses
:
actions/checkout@v2
-
...
...
@@ -60,12 +60,30 @@ jobs:
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/build-and-test-py-project.sh
. ./build-and-test-py-project.sh
pytest_conda
:
name
:
Pytest Conda
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
"
Main
Script"
run
:
|
CONDA_ENVIRONMENT=.test-conda-env-py3.yml
curl -L -O -k https://tiker.net/ci-support-v0
. ./ci-support-v0
build_py_project_in_conda_env
sudo apt update
sudo apt install gfortran-7 liblapack-dev libblas-dev
sudo ln -sf /usr/bin/gfortran-7 /usr/bin/gfortran
test_py_project
examples
:
name
:
Examples on Py${{ matrix.python-version }}
runs-on
:
ubuntu-latest
strategy
:
matrix
:
python-version
:
[
3.6
,
3.
7
,
3.
8
]
python-version
:
[
"
3.6
"
,
"
3.
8"
,
"
3.
x"
]
steps
:
-
uses
:
actions/checkout@v2
-
...
...
@@ -75,12 +93,32 @@ jobs:
-
name
:
"
Main
Script"
run
:
|
EXTRA_INSTALL="numpy matplotlib scipy"
sudo apt update
sudo apt install gfortran-7 liblapack-dev libblas-dev
sudo ln -sf /usr/bin/gfortran-7 /usr/bin/gfortran
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/build-py-project-and-run-examples.sh
. ./build-py-project-and-run-examples.sh
examples_conda
:
name
:
Examples Conda
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
"
Main
Script"
run
:
|
CONDA_ENVIRONMENT=.test-conda-env-py3.yml
curl -L -O -k https://tiker.net/ci-support-v0
. ./ci-support-v0
build_py_project_in_conda_env
sudo apt update
sudo apt install gfortran-7 liblapack-dev libblas-dev
sudo ln -sf /usr/bin/gfortran-7 /usr/bin/gfortran
run_examples
docs
:
name
:
Documentation
runs-on
:
ubuntu-latest
...
...
.test-conda-env-py3.yml
0 → 100644
View file @
d0856234
name
:
test-conda-env
channels
:
-
conda-forge
-
nodefaults
dependencies
:
-
python=3
-
git
-
numpy
-
scipy
-
matplotlib
-
pip