Skip to content

Fix inverted sign in reference electrode shift calculation #496

Fix inverted sign in reference electrode shift calculation

Fix inverted sign in reference electrode shift calculation #496

Workflow file for this run

name: Test
on:
push: { branches: [ "main" ] }
pull_request:
types:
- opened
- synchronize
- reopened
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
environment: ["python-310", "python-311", "python-312", "python-313", "python-314"]
os: ["ubuntu-latest", "ubuntu-24.04-arm", "macos-latest", "windows-latest"]
remote-data: [""]
include:
- os: "ubuntu-latest"
environment: "python-314"
# This leg of the tests runs doctests against the data that is
# currently available on echemdb.org. This test might fail
# when substantial changes have been introduced
# with this run that have not been published on echemdb.org yet.
remote-data: 'remote'
steps:
- name: checkout
uses: actions/checkout@v6
with: { submodules: recursive }
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.63.2
- name: doctest
run: |
pixi run -e ${{ matrix.environment }} doctest ${{ matrix.remote-data == 'remote' && '--remote-data' || '' }}
- name: cli
# Check that invoking the CLI works in principle. The CLI itself is tested by pytest.
run: pixi run -e ${{ matrix.environment }} unitpackage csv test/loader_data/default.csv