Skip to content

[WIP] Improve the codebase and along with downloads #57

[WIP] Improve the codebase and along with downloads

[WIP] Improve the codebase and along with downloads #57

Workflow file for this run

name: setup_python
on:
pull_request:
types:
- opened
- synchronize
push:
branches:
- main
jobs:
python-env:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: pip
- run: |
python -m pip install --upgrade pip
pip install -r requirements/requirements.txt
- run: echo "dir_path=$(mktemp -d)" >> $GITHUB_OUTPUT
id: temp_dir
- run: ln -svf $(realpath astro_plasma/data/solar_GASS10.abn) $(realpath astro_plasma/data/cooltable.dat) ${{ steps.temp_dir.outputs.dir_path }}
- run: pytest
env:
ASTRO_PLASMA_DATA_DIR: ${{ steps.temp_dir.outputs.dir_path }}