dev to main #92
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: AstroPlasma Unit tests | |
on: | |
pull_request: | |
push: | |
branches: '**' | |
jobs: | |
python-env: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Get present working directory | |
uses: mathiasvr/[email protected] | |
id: current_directory | |
with: | |
run: pwd | |
- name: Install AstroPlasma dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements/requirements-dev.txt | |
- name: Test AstroPlasma | |
run: | | |
export PYTHONPATH=${{ steps.current_directory.outputs.stdout }} | |
pytest |