forked from mfem/mfem
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request mfem#4283 from mfem/trigger-pymfem-ci
Add workflow for triggering pymfem CI
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Copyright (c) 2010-2024, Lawrence Livermore National Security, LLC. Produced | ||
# at the Lawrence Livermore National Laboratory. All Rights reserved. See files | ||
# LICENSE and NOTICE for details. LLNL-CODE-806117. | ||
# | ||
# This file is part of the MFEM library. For more information and source code | ||
# availability visit https://mfem.org. | ||
# | ||
# MFEM is free software; you can redistribute it and/or modify it under the | ||
# terms of the BSD-3 license. We welcome feedback and contributions, see file | ||
# CONTRIBUTING.md for details. | ||
|
||
name: "Trigger PyMFEM CI" | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
trigger-pymfem: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Send POST request to trigger PyMFEM CI | ||
run: | | ||
curl -L \ | ||
-X POST \ | ||
-H "Accept: application/vnd.github+json" \ | ||
-H "Authorization: Bearer ${{ secrets.PYMFEM_CI_TOKEN }}" \ | ||
-H "X-GitHub-Api-Version: 2022-11-28" \ | ||
https://api.github.com/repos/mfem/pymfem/actions/workflows/build-and-test-dispatch.yml/dispatches \ | ||
-d '{"ref":"master", "inputs":{"test_options":"fast"}}' |