Skip to content

add py 3.8

add py 3.8 #8

Workflow file for this run

name: CI testing
on:
push:
branches:
- main
pull_request:
jobs:
serialization-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false # run all tests even if one fails
matrix:

Check failure on line 15 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
python-version: [ "3.8", "3.9", "3.10", "3.11"],
input-file: [ "millipede_wilks/run00136662.evt000035405932.neutrino_1" ]
steps:
- name: Checkout main repository
uses: actions/checkout@v3
- name: Checkout test data from skymap_scanner
uses: actions/checkout@v3
with:
repository: icecube/skymap_scanner
ref: main
path: skymap_scanner
sparse-checkout: tests/data
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
pip install .
- name: Run conversion script
# working-directory: auxiliary-repo/path/to/directory # Replace 'path/to/directory' with the path to the directory containing your Python script
run: python examples/npz_to_json.py --input-file skymap_scanner/tests/data/results_npz/${{ matrix.input-file }}.npz --output-dir .
- name: Compare output
run: |
outfile=$(ls -Art | tail -n 1)
diff $outfile skymap_scanner/tests/data/results_json/${{ matrix.input-file }}.json