branch: externals/tomelr commit 7cd15e79b81697aa72a911fd48f3503e1cb16286 Author: Kaushal Modi <kaushal.m...@gmail.com> Commit: Kaushal Modi <kaushal.m...@gmail.com>
tool(ci): Add GHA setup --- .github/workflows/test.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000000..cd1997b37d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,36 @@ +name: RunTests + +on: + pull_request: + types: + - '*' + push: + branches: + - main + schedule: + # Every week: https://crontab.guru/#0_0_*_*_0 + - cron: '0 0 * * 0' + +jobs: + run_tests: + strategy: + fail-fast: false + matrix: + os: + - 'ubuntu-latest' + emacs_version: + - 'snapshot' + - '28.1' + - '27.2' + - '26.3' + # runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + continue-on-error: ${{ matrix.emacs_version == 'snapshot' }} + steps: + - uses: actions/checkout@v2 + - uses: purcell/setup-emacs@master + with: + version: ${{ matrix.emacs_version }} + - name: Run tests + run: | + make --no-print-directory -j8 test