1dfb8ed23Sjeremyltname: Python 23446d1b5SJeremy L Thompson 33446d1b5SJeremy L Thompsonon: 43446d1b5SJeremy L Thompson push: 53446d1b5SJeremy L Thompson 63446d1b5SJeremy L Thompsonjobs: 73446d1b5SJeremy L Thompson test: 83446d1b5SJeremy L Thompson strategy: 93446d1b5SJeremy L Thompson matrix: 106c0547c1SJeremy L Thompson os: [ubuntu-22.04] 116c0547c1SJeremy L Thompson compiler: [gcc-11] 1242e6192fSJeremy L Thompson python-version: ['3.x'] 133446d1b5SJeremy L Thompson 143446d1b5SJeremy L Thompson runs-on: ${{ matrix.os }} 153446d1b5SJeremy L Thompson 163446d1b5SJeremy L Thompson steps: 173446d1b5SJeremy L Thompson - name: Environment setup 180adbbf50SJeremy L Thompson uses: actions/checkout@v3 193446d1b5SJeremy L Thompson - name: Python setup 2042e6192fSJeremy L Thompson uses: actions/setup-python@v4 2142e6192fSJeremy L Thompson with: 2242e6192fSJeremy L Thompson python-version: ${{ matrix.python-version }} 233446d1b5SJeremy L Thompson - name: Python dependencies 243446d1b5SJeremy L Thompson run: | 253446d1b5SJeremy L Thompson pip install -r requirements.txt 263446d1b5SJeremy L Thompson pip install -r requirements-test.txt 273446d1b5SJeremy L Thompson - name: Python test 283446d1b5SJeremy L Thompson env: 293446d1b5SJeremy L Thompson CC: ${{ matrix.compiler }} 306c0547c1SJeremy L Thompson FC: gfortran-11 313446d1b5SJeremy L Thompson run: | 323446d1b5SJeremy L Thompson make info 333446d1b5SJeremy L Thompson make -j2 343446d1b5SJeremy L Thompson export CEED_DIR=$PWD 353446d1b5SJeremy L Thompson pip install . 360ef72598Sjeremylt cd python/tests 37619db83cSjeremylt PYTHON=python3 make test TEST_OPTS="--ceed /cpu/self/ref/serial -vv" 383446d1b5SJeremy L Thompson cd ../.. 393446d1b5SJeremy L Thompson - name: Python style 403446d1b5SJeremy L Thompson env: 413446d1b5SJeremy L Thompson CC: ${{ matrix.compiler }} 426c0547c1SJeremy L Thompson FC: gfortran-11 433446d1b5SJeremy L Thompson run: | 44*2b730f8bSJeremy L Thompson make format-py && git diff --exit-code 45