Skip to content

initial attempt at github actions #1

initial attempt at github actions

initial attempt at github actions #1

Workflow file for this run

name: tests
# Run this workflow for every commit
on: push
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install test dependencies
run: |
pip install numpy, scipy, matplotlib, pytest
- name: Install code dependencies
run: |
sudo apt-get install -y libgsl-dev libeigen3-dev
- name: Build tests
run: make tests
- name: Run the code tests
run: |
./tests > /dev/null
- name: Check the results
run: |
cd test_files
mkdir -p test-reports
py.test -v --junitxml=test-reports/junit.xml .