Skip to content

fix 3dmc

fix 3dmc #107

Workflow file for this run

name: CI
on: [push]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
python-version: '3.9'
gammapy_data_path: /home/runner/work/TITRATE/TITRATE/gammapy-data
- os: ubuntu-latest
python-version: '3.10'
gammapy_data_path: /home/runner/work/TITRATE/TITRATE/gammapy-data
- os: ubuntu-latest
python-version: '3.11'
gammapy_data_path: /home/runner/work/TITRATE/TITRATE/gammapy-data
- os: macos-latest
python-version: '3.9'
gammapy_data_path: /Users/runner/work/TITRATE/TITRATE/gammapy-data
- os: macos-latest
python-version: '3.10'
gammapy_data_path: /Users/runner/work/TITRATE/TITRATE/gammapy-data
- os: macos-latest
python-version: '3.11'
gammapy_data_path: /Users/runner/work/TITRATE/TITRATE/gammapy-data
- os: windows-latest
python-version: '3.9'
gammapy_data_path: D:\a\TITRATE\TITRATE\gammapy-data
- os: windows-latest
python-version: '3.10'
gammapy_data_path: D:\a\TITRATE\TITRATE\gammapy-data
- os: windows-latest
python-version: '3.11'
gammapy_data_path: D:\a\TITRATE\TITRATE\gammapy-data
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 --version
python -m pip install --upgrade pip
pip install .[tests]
- name: Downloading dataset
uses: actions/checkout@v3
with:
repository: 'gammapy/gammapy-data'
path: 'gammapy-data'
- name: Run tests
env:
GAMMAPY_DATA: ${{ matrix.gammapy_data_path }}
run: |
pytest