Skip to content

CI: update all gha actions #9

CI: update all gha actions

CI: update all gha actions #9

Workflow file for this run

name: ORSO Val. Refl1D
on:
push:
branches: [ master ]
pull_request:
schedule:
- cron: '0 0 * * 1'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
validate_ref1d:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.9'
- name: Install Python packages
run: |
python -m pip install numpy scipy cython pytest
# install refl1d from source (because the last release requires
# wxpython which requires a lot of time to build, the git repo doesn't
# at time of writing)
python -m pip install refl1d --pre
- name: Validate
run: |
# run validation via pytest (for Python packages)
pytest validation/scripts/test_refl1d.py