Merge pull request #89 from darikoneil/registration_overlay #281
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CalSciPy Code Coverage | |
on: | |
push: | |
branches: [ "master", "staging"] | |
pull_request: | |
branches: [ "master", "development", "staging"] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [windows-latest] | |
python-version: ["3.10"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r .github/workflows/requirements.txt | |
python -m pip install -e . | |
- name: Assess coverage | |
run: | | |
coverage run -m pytest | |
coverage report | |
coverage json | |
coverage lcov | |
- name: Coveralls GitHub Action | |
uses: coverallsapp/github-action@1.1.3 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: "./coverage.lcov" |