Skip to content

fix if unit is e-/s and no need flux #270

fix if unit is e-/s and no need flux

fix if unit is e-/s and no need flux #270

Workflow file for this run

name: CI tests
on:
push:
branches: [main]
tags: ["*"]
pull_request:
branches: [main]
concurrency:
# Skip intermediate builds: always.
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
test:
name: Python ${{ matrix.version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version: ["3.10", "3.11"]
os:
- ubuntu-latest
- macOS-latest
- windows-latest
arch: ["x64"]
steps:
- uses: actions/checkout@v2
- name: Setup python ${{ matrix.version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.version }}
architecture: ${{ matrix.arch }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --use-deprecated=legacy-resolver -e .[test]
- name: Run pytest
run: pytest --cov --cov-report xml --black
- name: Upload coverage to codecov
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true