Skip to content

Merge pull request #584 from bobmyhill/relaxed_anisotropy #529

Merge pull request #584 from bobmyhill/relaxed_anisotropy

Merge pull request #584 from bobmyhill/relaxed_anisotropy #529

Workflow file for this run

name: test
on: [push, pull_request, workflow_dispatch]
jobs:
indent:
name: indent
runs-on: [ubuntu-20.04]
strategy:
matrix:
python-versions: ['3.12']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-versions }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-versions }}
- name: make indent
run: |
python -m pip install black
./contrib/utilities/indent
git diff > changes-astyle.diff
- name: archive indent results
uses: actions/upload-artifact@v2
with:
name: changes-astyle.diff
path: changes-astyle.diff
- name: check indentation
run: |
git diff --exit-code
linux:
name: test
runs-on: [ubuntu-20.04]
strategy:
matrix:
python-versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-versions }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-versions }}
- name: setup
run: |
# pycddlib requires libgmp3-dev
sudo apt update && sudo apt install --yes \
numdiff \
libgmp3-dev \
texlive \
texlive-latex-extra
python -m pip install --upgrade pip
pip install pycddlib # this is optional
pip install autograd # this is optional
python --version
- name: test
run: |
PYTHON=python ./test.sh