File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed
Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 1+ # This workflow installs the requirements and runs the tests
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3+
4+ name : pytest
5+
6+ on :
7+ push :
8+ branches : [ '**' ]
9+ pull_request :
10+ branches : [ '**' ]
11+
12+ jobs :
13+ pytest :
14+ strategy :
15+ matrix :
16+ os :
17+ - ubuntu-latest
18+ python-version :
19+ - ' 3.10'
20+
21+ fail-fast : false
22+
23+ runs-on : ${{ matrix.os }}
24+ name : ${{ matrix.os }} py${{ matrix.python-version }}
25+
26+ steps :
27+ - uses : actions/checkout@v2
28+
29+ - name : Set up Python ${{ matrix.python-version }}
30+ uses : actions/setup-python@v2
31+ with :
32+ python-version : ${{ matrix.python-version }}
33+
34+ - name : Install pytest
35+ run : pip install pytest pytest-cov
36+
37+ - name : Install the package
38+ run : pip install .
39+
40+ - name : Test with pytest
41+ run : pytest
Original file line number Diff line number Diff line change 11matplotlib
22pandas
33pyam-iamc >= 1.0 # the pyam package is released on pypi under this name
4- -e git+https://github.com/openENTRANCE/openentrance.git@main#egg=openentrance
You can’t perform that action at this time.
0 commit comments