Skip to content

Create CITATION.cff #377

Create CITATION.cff

Create CITATION.cff #377

Workflow file for this run

# Copyright 2021 CMakePP
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
name: CMinx Installed via PIP
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build-pip:
runs-on: ubuntu-latest
strategy:
matrix:
python_version: ['3.8.13', '3.9.13', '3.10.5', '3.11.2']
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
- name: Build
run: |
python3 --version
python3 -m venv virt_env
source virt_env/bin/activate
pip3 install -e .
pip3 install -e .[testing]
- name: Test
run: |
source virt_env/bin/activate
cd tests
pytest --cov=../src/cminx/ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
directory: ./tests/
env_vars: OS,PYTHON
fail_ci_if_error: true
flags: unittests
name: codecov-umbrella
verbose: true