Skip to content

Fixed regression from changes to handling point comparison #100

Fixed regression from changes to handling point comparison

Fixed regression from changes to handling point comparison #100

Workflow file for this run

# Perform some basic linting to for syntax errors and undefined names, then run the test suite.
name: Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
container:
image: cmacmackin/nekpy:latest
steps:
- uses: actions/checkout@v3
- name: Update PATH
run: echo "/opt/view/bin" >> $GITHUB_PATH
- name: Cache pip-installed packages
uses: actions/cache@v3
with:
path: |
/usr/local/bin/python3.10/dist-packages/
~/.cache/sphinx_immaterial
key: ${{ runner.os }}-${{ hashFiles('setup.py', 'docs/requirements.txt') }}
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements-dev.txt
python3 -m pip install .
- name: Test with pytest
run: |
pytest --cov --cov-report=xml --hypothesis-profile ci
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v3