Skip to content

Commit

Permalink
👷 Remove Travis CI & prepare Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
skerit committed Jan 13, 2024
1 parent 3f2cb63 commit 13b7cbf
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 13 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/unit_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Node.js CI
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x]
os: [ubuntu-20.04, windows-latest, macos-latest]
env:
TZ: "Europe/Brussels"
SLOWTEST: true
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Set Windows Timezone
if: matrix.os == 'windows-latest'
run: tzutil /s "Romance Standard Time"
- name: Install NPM Dependencies
run: npm install
- name: Run Unit Tests
run: npm test
- name: Run Coverage Tests
run: npm run coverage
- name: Report Coverage To Codecov
run: npm run report-coverage
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<b>Alchemy</b>
</h1>
<div align="center">
<!-- CI - TravisCI -->
<a href="https://travis-ci.org/11ways/alchemy">
<img src="https://travis-ci.org/11ways/alchemy.svg?branch=master" alt="Mac/Linux Build Status" />
<!-- CI - Github Actions -->
<a href="https://github.com/11ways/alchemy/actions/workflows/unit_test.yaml">
<img src="https://github.com/11ways/alchemy/actions/workflows/unit_test.yaml/badge.svg" alt="Node.js CI (Linux, MacOS, Windows)" />
</a>

<!-- Coverage - Codecov -->
Expand Down

0 comments on commit 13b7cbf

Please sign in to comment.