Skip to content

Commit

Permalink
Add CI to run pipeline test mode
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelBrand1 committed Dec 17, 2024
1 parent f62dd1d commit 3f6ef3d
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/pipeline-run-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Pipeline Run Check

on:
pull_request:
push:
branches: [main]

jobs:
run-pipeline:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: "Set up R"
uses: r-lib/actions/setup-r@v2
with:
r-version: "release"
use-public-rspm: true
- name: "install poetry"
run: pip install poetry
- name: "Install pyrenew-hew"
run: poetry install
- name: "Set up dependencies for hewr"
uses: r-lib/actions/setup-r-dependencies@v2
with:
working-directory: hewr
- name: "Check hewr package"
uses: r-lib/actions/check-r-package@v2
with:
working-directory: hewr
- name: "Run pipeline"
run: poetry run bash pipelines/tests/test_forecast_state.sh pipelines/tests

0 comments on commit 3f6ef3d

Please sign in to comment.