All Projects → stefanoeb → Jest Action

stefanoeb / Jest Action

Licence: mit
Wraps and install Jest test runner in a github action.

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects

Labels

Projects that are alternatives of or similar to Jest Action

split-tests
Split test files in Jest and Cypress into parallel CI jobs
Stars: ✭ 22 (-70.27%)
Mutual labels:  jest, ci
Jest Canvas Mock
🌗 A module used to mock canvas in Jest.
Stars: ✭ 189 (+155.41%)
Mutual labels:  ci, jest
Javascript Testing Best Practices
📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (August 2021)
Stars: ✭ 13,976 (+18786.49%)
Mutual labels:  ci, jest
Laravel Vue Boilerplate
🐘 A Laravel 6 SPA boilerplate with a users CRUD using Vue.js 2.6, GraphQL, Bootstrap 4, TypeScript, Sass, and Pug.
Stars: ✭ 472 (+537.84%)
Mutual labels:  ci, jest
Changelog Ci
Changelog CI is a GitHub Action that generates changelog, Then the changelog is committed and/or commented to the release Pull request.
Stars: ✭ 68 (-8.11%)
Mutual labels:  ci
Kube Score
Kubernetes object analysis with recommendations for improved reliability and security
Stars: ✭ 1,128 (+1424.32%)
Mutual labels:  ci
React Adventure
⛰ React high-ending architecture & patterns ready for use. Made for big and small projects. PWA Ready.
Stars: ✭ 62 (-16.22%)
Mutual labels:  jest
React Native Learning Resources
Collection of some good resources for react-native ✨ 🔥 💥
Stars: ✭ 61 (-17.57%)
Mutual labels:  jest
Starter Lapis
Cutting edge starter kit
Stars: ✭ 72 (-2.7%)
Mutual labels:  jest
Eslint Plugin Jest Formatting
ESLint rules for formatting test suites written for jest.
Stars: ✭ 71 (-4.05%)
Mutual labels:  jest
Expect Playwright
Jest utility matcher functions to simplify expect statements for the usage with Playwright.
Stars: ✭ 66 (-10.81%)
Mutual labels:  jest
Ngrx Testing
Testing NgRx with jest and jasmine-marbles
Stars: ✭ 64 (-13.51%)
Mutual labels:  jest
React Native Template Typescript
👾 Clean and minimalist React Native template for a quick start with TypeScript.
Stars: ✭ 1,148 (+1451.35%)
Mutual labels:  jest
Terraform Security Scan
Run a security scan on your terraform with the very nice https://github.com/liamg/tfsec
Stars: ✭ 64 (-13.51%)
Mutual labels:  ci
Jmeter Elasticsearch Backend Listener
JMeter plugin that lets you send sample results to an ElasticSearch engine to enable live monitoring of load tests.
Stars: ✭ 72 (-2.7%)
Mutual labels:  ci
Simpleci
Simple docker-based continuous integration system
Stars: ✭ 61 (-17.57%)
Mutual labels:  ci
Cloudflare Purge Action
🗑️ GitHub Action to purge a website's cache via the Cloudflare API
Stars: ✭ 66 (-10.81%)
Mutual labels:  ci
Generator Rn Toolbox
The React Native Generator to bootstrap your apps
Stars: ✭ 1,155 (+1460.81%)
Mutual labels:  jest
Action Maven Publish
📦 GitHub Action for automatically publishing Maven packages
Stars: ✭ 66 (-10.81%)
Mutual labels:  ci
Artemis Dev Tool
An Apollo GraphQL Query Schema Testing Tool
Stars: ✭ 66 (-10.81%)
Mutual labels:  jest

⚠️⚠️⚠️ You don't need this action ⚠️⚠️⚠️

Github Actions have everything that you need to run your jest tests, to do that simply use the run commands like so:

name: CI
on: push
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/[email protected]
    - name: Install modules
      run: yarn
    - name: Run tests
      run: yarn test

This action executes Jest test runner without any previous action/build step or Docker required.

Prerequisites

Jest

You must have the Jest running locally for the action to execute. More info on the Jest getting started guide

Usage

Add to your main.yml file or create a new file named .github/workflows/test.yml and add:

name: Tests

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/[email protected]
    - name: Run Jest
      uses: stefanoeb/[email protected]

You can also pass custom args to jest through the with: parameter:

name: Tests

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/[email protected]
    - name: Run Jest
      uses: stefanoeb/[email protected]
      with:
        jestArgs: path/to/my.test.js

If there is no previous step installing the necessary modules, this action will execute a yarn install or npm install automatically.

License

The Dockerfile and associated scripts and documentation in this project are released under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].