[WIP] Improve the codebase and along with downloads #60
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: Module Testing | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
push: | |
branches: | |
- main | |
jobs: | |
e2e_testing: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python-version: [3.8, 3.9, 3.10, 3.11] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
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 }} | |
PYTHONPATH: ${{ github.workspace }} | |
PY_ENV: testing |