Update test configuration #3
Workflow file for this run
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: test-core | |
# | |
# on: | |
# push: | |
# branches: [master] | |
# pull_request: | |
# branches: [master] | |
# | |
# jobs: | |
# tests: | |
# runs-on: ${{ matrix.os }} | |
# strategy: | |
# fail-fast: false | |
# matrix: | |
# os: [ubuntu-latest, macos-latest] | |
# python-version: ["3.8", "3.9", "3.10"] | |
# | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - name: Set up Python ${{ matrix.python-version }} | |
# uses: actions/setup-python@v4 | |
# with: | |
# python-version: ${{ matrix.python-version }} | |
# - name: Install dependencies | |
# run: | | |
# python -m pip install --upgrade pip | |
# pip install "poetry!=1.4.1" | |
# poetry --version | |
# cd core | |
# poetry install | |
# - name: Test with pytest | |
# run: | | |
# poetry run pytest --version | |
# | |
# | |
# test-windows: | |
# runs-on: windows-latest | |
# | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - uses: conda-incubator/setup-miniconda@v2 | |
# with: | |
# auto-update-conda: true | |
# python-version: 3.8 | |
# - name: Install dependencies with conda | |
# run: | | |
# conda info | |
# conda install -c conda-forge mdtraj | |
# - name: Install py4vasp | |
# run: | | |
# python -m pip install --upgrade pip | |
# cd core | |
# pip install . | |
# - name: Test with pytest | |
# run: | | |
# pip install pytest pytest-cov hypothesis | |
# pytest --version |