Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

refactor: schedule warning outages, drop branch filters from push trigger #26

Merged
merged 2 commits into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: CI
on:
push:
branches:
- main
- develop*
paths-ignore:
- '**.md'
pull_request:
Expand All @@ -16,6 +13,7 @@ jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
continue-on-error: true
strategy:
fail-fast: false
matrix:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Integration testing
on:
push:
branches:
- main
- develop*
paths-ignore:
- '**.md'
pull_request:
Expand All @@ -14,10 +11,12 @@ on:
- '**.md'
schedule:
- cron: '0 6 * * *' # run at 6 AM UTC every day

jobs:
test_modflow:
name: Test modflow6 integration
runs-on: ${{ matrix.os }}
continue-on-error: true
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -135,6 +134,7 @@ jobs:
test_pymake:
name: Test pymake integration
runs-on: ${{ matrix.os }}
continue-on-error: true
strategy:
fail-fast: false
matrix:
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@

An action to install and cache [Intel OneAPI](https://www.intel.com/content/www/us/en/developer/tools/oneapi/fortran-compiler.html#gs.bksc2p) Fortran and C/C++ compilers via the [HPC Toolkit](https://www.intel.com/content/www/us/en/developer/tools/oneapi/hpc-toolkit.html#gs.g10hgy).

**Note:** [`awvwgk/setup-fortran`](https://github.com/awvwgk/setup-fortran) is recommended. Maintenance of this action will cease in 2024.
**Note:** Maintenance of this action will cease in 2024. [`fortran-lang/setup-fortran`](https://github.com/fortran-lang/setup-fortran) is recommended instead. This action will disable itself 10% of the time until then (to avoid this, use a previous tag).

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->


- [Overview](#overview)
- [Usage](#usage)
- [Environment variables](#environment-variables)
Expand All @@ -20,6 +21,7 @@ An action to install and cache [Intel OneAPI](https://www.intel.com/content/www/
- [Setting oneAPI variables on Linux/macOS](#setting-oneapi-variables-on-linuxmacos)
- [Setting oneAPI variables on Windows](#setting-oneapi-variables-on-windows)
- [`cache`](#cache)
- [`ignore`](#ignore)
- [Outputs](#outputs)
- [`cache-hit`](#cache-hit)
- [Windows caveats](#windows-caveats)
Expand Down
12 changes: 9 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,17 @@ runs:
using: composite
steps:

- name: Deprecation warning
- name: Migration warning
shell: bash
run: |
echo "WARNING: This action will be archived on 01/01/24 in light of better alternatives."
echo "Please use awvwgk/setup-fortran instead (https://github.com/awvwgk/setup-fortran)."
echo "WARNING: This action will be archived on 01/01/24."
echo "Use fortran-lang/setup-fortran instead (https://github.com/fortran-lang/setup-fortran)."

- name: Migration brownout
uses: wpbonelli/schedule-outage@v1
with:
probability: 0.1
message: "This action will be archived on 01/01/24. Use fortran-lang/setup-fortran instead (https://github.com/fortran-lang/setup-fortran)."

- name: Set install path
if: runner.os != 'Windows'
Expand Down
Loading