We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c67777a commit 6af1c7dCopy full SHA for 6af1c7d
.github/workflows/test.yml
@@ -0,0 +1,25 @@
1
+name: Python package
2
+
3
+on:
4
+ - push
5
+ - pull_request
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ strategy:
11
+ matrix:
12
+ python-version: [3.6, 3.7]
13
+ PYMATGEN_VERSION: [2019.1.13, 2019.7.30]
14
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ - name: Set up Python ${{ matrix.python-version }}
18
+ uses: actions/setup-python@v2
19
+ with:
20
+ python-version: ${{ matrix.python-version }}
21
+ - name: Install dependencies
22
+ run: pip install coverage codecov pymatgen=={{ matrix.PYMATGEN_VERSION }} .
23
+ - name: Test
24
+ run: coverage run --source=./dpgen -m unittest -v && coverage report
25
+ - run: codecov
.travis.yml
0 commit comments