-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from philipmnel/philip
Resync with group code
- Loading branch information
Showing
24 changed files
with
1,073 additions
and
967 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- "master" | ||
pull_request: | ||
branches: | ||
- "master" | ||
schedule: | ||
# Tests run every Monday | ||
- cron: "0 0 * * 1" | ||
|
||
jobs: | ||
test: | ||
name: 🐍 ${{ matrix.python-version }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.8, "3.11"] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Additional Build Info | ||
shell: bash | ||
run: | | ||
uname -a | ||
df -h | ||
ulimit -a | ||
- name: Create Environment | ||
uses: mamba-org/provision-with-micromamba@main | ||
with: | ||
extra-specs: python=${{ matrix.python-version }} | ||
environment-file: devtools/conda-envs/test_env.yaml | ||
environment-name: test | ||
channel-priority: flexible | ||
|
||
- name: Install crystalatte | ||
# conda setup requires this special shell | ||
shell: bash -l {0} | ||
run: | | ||
python -m pip install . --no-deps | ||
conda list | ||
- name: Run tests | ||
# conda setup requires this special shell | ||
shell: bash -l {0} | ||
|
||
run: | | ||
pytest -v --color=yes crystalatte/tests/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,3 +100,6 @@ ENV/ | |
|
||
# mypy | ||
.mypy_cache/ | ||
|
||
# psi4 files | ||
timer.dat |
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
Oops, something went wrong.