Skip to content

Commit

Permalink
ci: simplify ci
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <timo@animo.id>
  • Loading branch information
TimoGlastra committed May 26, 2023
1 parent 37eb578 commit d0920cb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 97 deletions.
39 changes: 0 additions & 39 deletions .github/actions/test/action.yml

This file was deleted.

43 changes: 0 additions & 43 deletions .github/actions/validate/action.yml

This file was deleted.

32 changes: 17 additions & 15 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,24 @@ jobs:
- name: Check the repository
uses: actions/checkout@v2

- name: Validate
uses: ./.github/actions/validate
# Sets up Libindy.
- name: Setup Libindy
uses: ./.github/actions/setup-libindy

# Setup Node.js
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16.x
uses-libindy: true

test:
name: Test
needs: validate
runs-on: ubuntu-20.04
# Installing the project dependencies
- name: Install dependencies
run: yarn install

steps:
- name: Check the repository
uses: actions/checkout@v2
- name: Test
uses: ./.github/actions/test
with:
node-version: 16.x
uses-libindy: true
# Validation
- name: Running `yarn validate`
run: yarn validate

# Run the tests
- name: Run tests with coverage
run: yarn test --coverage

0 comments on commit d0920cb

Please sign in to comment.