Skip to content

ci: Update to supported versions of github actions #32

ci: Update to supported versions of github actions

ci: Update to supported versions of github actions #32

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- master
pull_request:
jobs:
test-linux:
name: Pytest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
runs-on: ubuntu-latest
env:
SCALABRAD_VERSION: '0.8.3'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: 'x64'
- uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '8'
- name: Install scalabrad
run: |
bash scripts/test/install-scalabrad.sh
echo "PATH=$PATH:$HOME/scalabrad-$SCALABRAD_VERSION/bin/" >> $GITHUB_ENV
- name: Install dependencies
run: |
sed 's/>=/==/' requirements.txt > exact_requirements.txt
pip install -r requirements.txt
pip install .
pip install pytest coveralls
- name: Run python tests
run: scripts/test/test.sh