Skip to content

First Release Scikit-Longitudinal Github and PyPi #19

First Release Scikit-Longitudinal Github and PyPi

First Release Scikit-Longitudinal Github and PyPi #19

Workflow file for this run

name: ci-tests
on:
pull_request:
branches:
- main
jobs:
check_tests_trigger:
name: Check Tests trigger
runs-on: ubuntu-latest
outputs:
tests: ${{ steps.check_tests_trigger.outputs.tests }}
steps:
- name: Checkout scikit-longitudinal
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- id: check_tests_trigger
name: Check tests trigger
run: bash build_tools/github/check_tests_trigger.sh
Testing:
runs-on: ${{ matrix.os }}
needs: check_tests_trigger
if: needs.check_tests_trigger.outputs.tests
strategy:
matrix:
python-version: [3.9]
os: [ubuntu-latest]
steps:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Checkout this repository
uses: actions/checkout@v2
- uses: pdm-project/setup-pdm@main
name: Setup PDM
with:
python-version: 3.9
architecture: x64
prerelease: false
enable-pep582: true
- name: Install dependencies from pdm.lock
run: |
pdm install
- name: Run tests
run: pdm run tests