Skip to content

Adding testing as github action #10

Adding testing as github action

Adding testing as github action #10

Workflow file for this run

name: Github FORCE run tests
run-name: ${{ github.actor }} is testing out FORCE
on: [push, pull_request]
jobs:
Runtests-FORCE-Linux:
runs-on: [self-hosted, linux]
steps:
- run: echo " The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo " This job is now running on a ${{ runner.os }} server"
- run: echo " The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: pwd
- run: ./initalize_tests.sh
- run: source raven/scripts/establish_conda_env.sh --load && ./run_tests
- name: Archive
uses: actions/upload-artifact@v4
if: always()

Check failure on line 18 in .github/workflows/run_tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/run_tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
with:
name: model_out
path: |
model_run_out.txt
use_cases/model_run_out.txt