From d58b9381873230f588b060a6f0eba6437c54794c Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Sun, 14 Feb 2021 19:20:27 -0800 Subject: Download emacs source during tests, and split steps --- .github/workflows/test.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 89a47f7..2c86520 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,15 +18,27 @@ jobs: - uses: conao3/setup-cask@master - uses: actions/checkout@v2 - - name: Test + + - name: Install dependencies with Cask + run: cask install + + - name: Download Emacs source code + run: "./download_emacs_src.sh" + + - name: Run tests env: COVERALLS_FLAG_NAME: Emacs ${{ matrix.emacs_version }} COVERALLS_PARALLEL: 1 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Run tests under both interpreted and compiled elisp. + run: cask exec ert-runner + - name: Run tests (compiled elisp) + env: + COVERALLS_FLAG_NAME: Emacs ${{ matrix.emacs_version }} compiled + COVERALLS_PARALLEL: 1 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # Run tests under both interpreted and compiled elisp. run: | - cask install - cask exec ert-runner cask build cask exec ert-runner -- cgit v1.0