Skip to content

Commit

Permalink
Travis --> github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
xispa committed Jun 13, 2024
1 parent f903c3f commit 06edbc5
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 395 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: build and test senaite.storage
on:
- push
- pull_request
env:
PLONE_VERSION: "5.2"
jobs:
build-and-test:
runs-on: 'ubuntu-20.04'
container:
image: python:2.7.18-buster
steps:
- uses: actions/checkout@v3
- name: cache eggs
uses: actions/cache@v3
with:
key: eggs-cache-${{ hashFiles('buildout.cfg', 'requirements.txt') }}
path: |
eggs/
- name: install
run: |
pip install virtualenv
virtualenv -p `which python` .
bin/pip install --upgrade pip
bin/pip install -r requirements.txt
bin/buildout -N -t 3 annotate
bin/buildout -N -t 3
- name: test
run: |
bin/test -s senaite.lis2a.tests
42 changes: 0 additions & 42 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ CLIS LIS2-A results import for SENAITE
.. image:: https://img.shields.io/pypi/v/senaite.lis2a.svg?style=flat-square
:target: https://pypi.python.org/pypi/senaite.lis2a

.. image:: https://img.shields.io/travis/senaite/senaite.lis2a/master.svg?style=flat-square
:target: https://travis-ci.org/senaite/senaite.lis2a
.. image:: https://img.shields.io/github/actions/workflow/status/senaite/senaite.lis2a/build-and-test.yml?branch=2.x
:target: https://github.com/senaite/senaite.lis2a/actions/workflows/build-and-test.yml?query=branch:2.x

.. image:: https://readthedocs.org/projects/pip/badge/
:target: https://senaitelis2a.readthedocs.org
Expand Down
210 changes: 0 additions & 210 deletions bootstrap.py

This file was deleted.

Loading

0 comments on commit 06edbc5

Please sign in to comment.