Skip to content

Commit

Permalink
Travis CI --> GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
wboykinm committed Dec 16, 2024
1 parent d0983b2 commit 9d5b4f7
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 33 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: rio-color test

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
runs-on: ubuntu-latest

permissions:
id-token: write
contents: read

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9

- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install -r requirements.txt -r requirements-dev.txt
- name: Install module
run: python -m pip install -e .

- name: Run tests
run: |
pre-commit run --all-files
python -m pytest --cov rio_color --cov-report term-missing
29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# rio-color

[![Build Status](https://travis-ci.com/mapbox/rio-color.svg?branch=master)](https://travis-ci.com/mapbox/rio-color)
[![Coverage Status](https://coveralls.io/repos/mapbox/rio-color/badge.svg?branch=master&service=github)](https://coveralls.io/github/mapbox/rio-color?branch=master)

A rasterio plugin for applying basic color-oriented image operations to geospatial rasters.

## Goals
Expand Down
1 change: 0 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
affine
cligj
colormath==3.0.0
coveralls>=0.4
delocate
numpy==1.26.0
pre-commit
Expand Down

0 comments on commit 9d5b4f7

Please sign in to comment.