Skip to content

Be nicer if eve2cml is not installed. #168

Be nicer if eve2cml is not installed.

Be nicer if eve2cml is not installed. #168

name: cmlutils CI
on: [push, pull_request, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: |
pip install -U pip
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install -r test-requirements.txt
- name: Execute tests
run: |
make lint
make coverage
pip freeze
- name: Run coveralls
run: |
coveralls --service=github