Changelog (#13) #39
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
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
schedule: | |
- cron: "0 2 * * 1" | |
jobs: | |
test: | |
name: 🐍 ${{ matrix.python-version }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.8, "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Additional Build Info | |
shell: bash | |
run: | | |
uname -a | |
df -h | |
ulimit -a | |
- name: Create Environment | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
environment-file: devtools/conda-envs/test_env.yaml | |
activate-environment: test | |
auto-activate-base: false | |
show-channel-urls: true | |
- 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/ |