Skip to content

Commit

Permalink
release: prepare for 0.7
Browse files Browse the repository at this point in the history
 - update the testing matrix for all supported Emacs
 - skip build step to keep undercover happy
 - only load coveralls after 26.1
 - use cask action instead of hand hacking
 - upload coverage data
 - update News with new features
  • Loading branch information
stsquad committed Jul 14, 2023
1 parent bf8246e commit a5daafa
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 18 deletions.
38 changes: 21 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ on:
push:

jobs:
build:
test:
runs-on: ubuntu-latest
strategy:
matrix:
emacs_version:
- 25.1
- 26.1
- 26.3
- 27.1
- 27.2
- 28.1
Expand All @@ -21,23 +24,24 @@ jobs:
with:
version: ${{ matrix.emacs_version }}

- name: Install Cask
run: git clone https://github.com/cask/cask ~/.cask

- name: Add Cask to Path
run: echo "$HOME/.cask/bin" >> $GITHUB_PATH

- name: Validate Cask
run: cask emacs --version
- name: Setup Cask
uses: conao3/setup-cask@master

- name: Checkout Code
uses: actions/checkout@v3

- name: Install Elisp Deps
run: cask install

- name: Build
run: cask build

- name: Run ERT tests
run: cask exec ert-runner dired-rsync-ert.el
- name: Test
env:
COVERALLS_FLAG_NAME: Emacs ${{ matrix.emacs_version }}
COVERALLS_PARALLEL: 1
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cask install
cask exec ert-runner
finalize:
runs-on: ubuntu-latest
if: always()
needs: test
steps:
- run: curl "https://coveralls.io/webhook?repo_name=$GITHUB_REPOSITORY&repo_token=${{ secrets.GITHUB_TOKEN }}" -d "payload[build_num]=$GITHUB_RUN_NUMBER&payload[status]=done"
2 changes: 2 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ v0.7
- new dired-rsync-transient frontend
- various code clean-ups
- new customisation hook dired-rsync-success-hook
- moved the project CI to GitHub Actions
- now understands alternate port syntax in tramp URIs
v0.6
- use tramp functions to decompose URIs (fix #22)
- use username from dired URI if we have it in rsync
Expand Down
4 changes: 3 additions & 1 deletion dired-rsync-ert.el
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@

(require 'ert)

(when (require 'undercover nil t)
;;
(when (and (version<= "26.1" emacs-version)
(require 'undercover nil t))
(undercover "dired-rsync.el"))

(require 'dired-rsync)
Expand Down

0 comments on commit a5daafa

Please sign in to comment.