diff options
| author | Wilfred Hughes <me@wilfred.me.uk> | 2021-02-14 19:20:27 -0800 |
|---|---|---|
| committer | Wilfred Hughes <me@wilfred.me.uk> | 2021-02-14 19:20:27 -0800 |
| commit | d58b9381873230f588b060a6f0eba6437c54794c (patch) | |
| tree | 2b763f26857fc50cd096c70f4f90c26a85a635d7 /.github | |
| parent | 366057cda8a587b8bf1261612c62306c15751fde (diff) | |
Download emacs source during tests, and split steps
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/test.yml | 18 |
1 files 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 |
