Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: prepare for 0.7 #47

Merged
merged 1 commit into from
Jul 14, 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
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:
# we don't include 25.1 in the matrix due to an ert testing issue
- 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 dired-rsync-ert.el

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
2 changes: 1 addition & 1 deletion README.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[[https://stable.melpa.org/#/dired-rsync][file:https://stable.melpa.org/packages/dired-rsync-badge.svg]]
[[https://melpa.org/#/dired-rsync][file:https://melpa.org/packages/dired-rsync-badge.svg]]
[[https://travis-ci.org/stsquad/dired-rsync][file:https://travis-ci.org/stsquad/dired-rsync.svg?branch=master]]
[[https://coveralls.io/repos/github/stsquad/dired-rsync][file:https://coveralls.io/repos/github/stsquad/dired-rsync/badge.svg?branch=master]]

* Introduction

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