Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Commit

Permalink
Replace TravisCI with GitHub Actions (#45)
Browse files Browse the repository at this point in the history
Replaces TravisCI (which has officially been shut down) with Github Actions, which now runs the unit tests.

You can see the pipeline passing over on my repo: https://github.com/anoadragon453/matrix-content-scanner/runs/2718947043

`Signed-off-by: Andrew Morgan <andrewm@element.io>`
  • Loading branch information
anoadragon453 committed Jun 7, 2021
1 parent 15b0527 commit 030831e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 12 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Unit tests
on:
# Trigger the workflow on a pull request,, or when committing
# 'main' branch
pull_request:
push:
branches:
- main

jobs:
run-unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

# Retrieve dependencies and set up the test environment
- run: make build

# Run the tests
- run: make test
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ Matrix Content Scanner

A Web service for scanning media hosted on a [Matrix](https://matrix.org) content repository.

[![Build Status](https://travis-ci.org/matrix-org/matrix-content-scanner.svg?branch=master)](https://travis-ci.org/matrix-org/matrix-content-scanner)

# Introduction

MCS allows for arbitrary scanning of content hosted on Matrix. When a Matrix client requests media
Expand Down

0 comments on commit 030831e

Please sign in to comment.