[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/webpaste e2ba2f5 282/298: github-actions: Set up github ac
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/webpaste e2ba2f5 282/298: github-actions: Set up github actions for integration tests |
Date: |
Thu, 9 Dec 2021 19:00:30 -0500 (EST) |
branch: elpa/webpaste
commit e2ba2f51906edf8c77dc7ab0226b4aa85522dd83
Author: Elis Hirwing <elis@hirwing.se>
Commit: Elis Hirwing <elis@hirwing.se>
github-actions: Set up github actions for integration tests
---
.github/workflows/integration-tests.yml | 44 +++++++++++++++++++++++++++++++++
Makefile | 4 +--
2 files changed, 46 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/integration-tests.yml
b/.github/workflows/integration-tests.yml
new file mode 100644
index 0000000..7bbf2d0
--- /dev/null
+++ b/.github/workflows/integration-tests.yml
@@ -0,0 +1,44 @@
+name: "Integration tests"
+
+on:
+ pull_request:
+ push:
+ paths-ignore:
+ - '**.org'
+ - '.dir-locals.el'
+ branches:
+ - master
+ # Run this job set on schedule every Saturday
+ schedule:
+ - cron: '0 12 * * 6'
+
+jobs:
+ build:
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os: [ ubuntu-latest ]
+ emacs_version: [ 27.1 ]
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: purcell/setup-emacs@master
+ with:
+ version: ${{ matrix.emacs_version }}
+
+ - name: Install cask
+ run: nix-env -f '<nixpkgs>' -iA cask
+
+ - name: Check emacs version
+ run: emacs --version
+
+ - name: Cask install
+ run: cask install
+
+ - name: Run tests
+ run: make integration
+ # Undercover currently don't recognize GitHub Actions as a CI
+ # environment. So we'll set this flag to force it.
+ env:
+ UNDERCOVER_FORCE: true
+ continue-on-error: ${{ true }}
diff --git a/Makefile b/Makefile
index 9b58845..94ecc9e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
-TRAVIS ?= false
+GITHUB_ACTIONS ?= false
EMACS ?= emacs
CASK ?= cask
-ifeq ($(TRAVIS),true)
+ifeq ($(GITHUB_ACTIONS),true)
PATTERN=--pattern '\[ci\]'
endif
- [nongnu] elpa/webpaste cfd41c7 207/298: Add Emacs-24.3 again as well as Emacs-25.3 as new version is out, (continued)
- [nongnu] elpa/webpaste cfd41c7 207/298: Add Emacs-24.3 again as well as Emacs-25.3 as new version is out, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste ba05903 248/298: travis: Run the integration tests in emacs 26.1, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 9ca4105 267/298: Extend default language list, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 44df573 244/298: Merge branch 'kaushalmodi-add-lang-detection-from-shebang', ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 0f79722 270/298: Add wrapper around webpaste for buffer and region, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 20da215 271/298: Add unit tests for pasting buffer OR region depending on context, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste e892ef2 277/298: webpaste: Add custom to limit amount of retries, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste bd2bf6a 281/298: github-actions: Set up github actions and undercover for unit tests, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 54e2ed4 178/298: Added integration test for ix.io, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 26a8035 197/298: Switched to simpler provider definitions where we don't store lambdas in the alist, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste e2ba2f5 282/298: github-actions: Set up github actions for integration tests,
ELPA Syncer <=
- [nongnu] elpa/webpaste 67a1a8c 295/298: Copyright header shouldn't be a range of years, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste b063ddd 292/298: README: Update number of providers, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 0c814bc 179/298: Added integration test for sprunge.us, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste bb7a705 184/298: Added unit test for simpleclip feature, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste bd1ec2a 187/298: Disabled one test since it doesn't work, but really should..., ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste de5cbd2 190/298: Update contributor guidelines to match codestyle, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 2b1051a 293/298: Update version numbers and copyright header, ELPA Syncer, 2021/12/09