set first composition in evaluate #534
Workflow file for this run
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
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 |