Skip to content

Commit

Permalink
redirect MP API key
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielYang59 committed Dec 4, 2024
1 parent 57e25d5 commit 793fb58
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ${{ matrix.os }}

env:
PMG_MAPI_KEY: ${{ secrets.PMG_MAPI_KEY }}
MP_API_KEY: ${{ secrets.PMG_MAPI_KEY }}
PMG_VASP_PSP_DIR: "${{ github.workspace }}/psp"
MPLBACKEND: Agg # non-interactive backend for matplotlib

Expand Down Expand Up @@ -52,8 +52,10 @@ jobs:
with:
version: "latest"

- name: Install dependencies and run pytest
- name: Install dependencies
run: |
micromamba activate matgenb
uv pip install --upgrade -r requirements-ci.txt
pytest --nbmake notebooks/
micromamba run -n matgenb uv pip install --upgrade -r requirements-ci.txt
- name: Run pytest
run: |
micromamba run -n matgenb pytest --ignore-glob=*notest.ipynb --nbmake notebooks/

0 comments on commit 793fb58

Please sign in to comment.