Skip to content

Commit bc5a73e

Browse files
committedFeb 15, 2023
Move to github action badge
1 parent 8939f40 commit bc5a73e

File tree

3 files changed

+37
-38
lines changed

3 files changed

+37
-38
lines changed
 

‎.github/workflows/main.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# This workflow will install Python dependencies, run tests and lint with a single version of Python
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
4+
name: Python application
5+
6+
on:
7+
push:
8+
branches: ["master"]
9+
pull_request:
10+
branches: ["master"]
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- uses: actions/checkout@v3
21+
- name: Set up Python 3.8
22+
uses: actions/setup-python@v3
23+
with:
24+
python-version: "3.8"
25+
- name: Install dependencies
26+
run: |
27+
sudo apt-get update
28+
sudo apt-get -y install python3-pyqt5
29+
pip install --upgrade -I pip setuptools importlib-metadata==4.12
30+
python setup.py install
31+
pip install -I PyQt5
32+
pip install --upgrade -I sip
33+
pip install --upgrade -I PyQt5-sip
34+
- name: Test with pytest
35+
run: |
36+
pytest -vv

‎.github/workflows/python-app.yml

-37
This file was deleted.

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# UltimateLabeling
22

3-
[![Build Status](https://travis-ci.com/alexandre01/UltimateLabeling.svg?branch=master)](https://travis-ci.com/alexandre01/UltimateLabeling)
3+
![Build Status](https://github.com/alexandre01/UltimateLabeling/actions/workflows/main.yml/badge.svg)
44
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
55
[![PyPI](https://img.shields.io/pypi/pyversions/ultimatelabeling.svg)](https://pypi.python.org/pypi/ultimatelabeling)
66
[![PyPI](https://img.shields.io/pypi/v/ultimatelabeling.svg)](https://pypi.python.org/pypi/ultimatelabeling)

0 commit comments

Comments
 (0)