Another fake PR for review (do not close!) #65
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: Run Pytest | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: | |
image: davhofer/py2spack-spack-installation-test:latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Python package and dependencies | |
run: python -m pip install .[tests] | |
- name: Check PYTHONPATH | |
run: echo $PYTHONPATH | |
- name: Check SPACK_ROOT | |
run: echo $SPACK_ROOT | |
- name: Check py-hatchling | |
run: $SPACK_ROOT/bin/spack list py-hatchling | |
- name: Run tests | |
run: python -m pytest |