Skip to content

Commit

Permalink
Switch to Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sdreher committed Jan 22, 2021
1 parent 81980c6 commit 5575542
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 29 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: build-and-test
on: [push]
jobs:
build:
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [3.6]
node-version: [12.x]
services:
postgres:
image: postgis/postgis:13-master
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v2
- name: Build with Makefile
run: make
- name: Run Integration Tests
run: make cypress
27 changes: 0 additions & 27 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Mediathread

[![Build Status](https://travis-ci.com/ccnmtl/mediathread.svg?branch=master)](https://travis-ci.com/ccnmtl/mediathread)
[![Actions Status](https://github.com/ccnmtl/mediathread/workflows/build-and-test/badge.svg)](https://github.com/ccnmtl/mediathread/actions)
[![Documentation Status](https://readthedocs.org/projects/mediathread/badge/?version=latest)](https://mediathread.readthedocs.io/en/latest/?badge=latest)

Mediathread is a Django site for multimedia annotations facilitating
Expand Down
2 changes: 1 addition & 1 deletion django.mk
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ else
COVERAGE ?= $(VE)/bin/coverage
endif

jenkins: check flake8 test eslint bandit
jenkins: check flake8 test eslint jstest bandit

$(PY_SENTINAL): $(REQUIREMENTS)
rm -rf $(VE)
Expand Down

0 comments on commit 5575542

Please sign in to comment.