Skip to content

Commit

Permalink
(continue to attempt to) fix github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewkuner authored Nov 2, 2023
1 parent 876e989 commit c7ca8e2
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
max-parallel: 20
matrix:
os: [ubuntu-latest]
python-version: [3.8]
python-version: ["3.9", "3.10", "3.11"]

runs-on: ${{ matrix.os }}

Expand All @@ -18,9 +18,9 @@ jobs:
MPLBACKEND: "Agg"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -30,4 +30,10 @@ jobs:
pip install -e .
- name: pytest
run: |
pytest --cov=pymatgen.io.validation --durations=30 pymatgen
pytest --cov=pymatgen --cov-report=xml
- uses: codecov/codecov-action@v1
if: matrix.python-version == 3.10
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml

0 comments on commit c7ca8e2

Please sign in to comment.