Final revisions for JOSS article #163
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: Testing | |
on: [push, pull_request] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
env: | |
OS: ubuntu-latest | |
PYTHON: '3.9' | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: ‘2’ | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Install Packages | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install numpy==1.20.3 | |
python -m pip install matplotlib | |
python -m pip install pytest==7.1.2 | |
python -m pip install coverage | |
- name: Test with pytest | |
run: | | |
coverage run --source=PyXAB -m pytest | |
- name: Upload Coverage to Codecov | |
uses: codecov/codecov-action@v3 |