Skip to content

Commit 1c4ee8e

Browse files
committed
Merge branch 'testing'
2 parents 3d147f2 + 641ef3c commit 1c4ee8e

File tree

6 files changed

+85
-151
lines changed

6 files changed

+85
-151
lines changed

.github/workflows/tester.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Title : tester.yml
2+
# Description : Configures GitHub Actions to perform integration tests
3+
# Author : Veltys
4+
# Date : 2023-01-02
5+
# Version : 2.0.1
6+
# Usage : (used externally)
7+
# Notes :
8+
9+
10+
name: Testing Action
11+
12+
on:
13+
push:
14+
branches:
15+
- testing
16+
17+
pull_request:
18+
branches:
19+
- testing
20+
21+
jobs:
22+
build:
23+
runs-on: ubuntu-latest
24+
strategy:
25+
matrix:
26+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
27+
os: [ubuntu-latest, windows-latest, macos-latest]
28+
29+
steps:
30+
- uses: actions/checkout@main
31+
32+
- name: "Set up Python ${{ matrix.python-version }}"
33+
uses: actions/setup-python@main
34+
with:
35+
python-version: ${{ matrix.python-version }}
36+
37+
- name: "Install dependencies"
38+
run: |
39+
python -m pip install --upgrade pip
40+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
41+
42+
- name: "Decrypt"
43+
shell: bash
44+
env:
45+
PASSPHRASE: ${{ secrets.PASSPHRASE }}
46+
run: |
47+
gpg --quiet --batch --yes --decrypt --passphrase="$PASSPHRASE" --output secrets.tgz secrets.tgz.gpg
48+
tar xzvf secrets.tgz
49+
50+
- name: "Test"
51+
shell: bash
52+
env:
53+
ChannelID: ${{ secrets.ChannelID }}
54+
run: |
55+
python main.py $ChannelID
56+
# cat "Youtube subscriptions.opml"

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,6 @@ dmypy.json
136136
# Otros
137137
/client_secret.json
138138
/debug_data.pkl
139-
/secrets.tar
139+
/secrets.tgz
140140
/token.json
141141
/*.opml

.travis.yml

Lines changed: 0 additions & 138 deletions
This file was deleted.

README.md

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# YoutubeRSS
2-
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/a5b0c10762c14877a1926981b9dd64bf)](https://www.codacy.com/gh/Veltys/YoutubeRSS/dashboard?utm_source=github.com&utm_medium=referral&utm_content=Veltys/YoutubeRSS&utm_campaign=Badge_Grade) [![Build Status](https://app.travis-ci.com/Veltys/YoutubeRSS.svg?branch=master)](https://app.travis-ci.com/Veltys/YoutubeRSS)
2+
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/a5b0c10762c14877a1926981b9dd64bf)](https://www.codacy.com/gh/Veltys/YoutubeRSS/dashboard?utm_source=github.com&utm_medium=referral&utm_content=Veltys/YoutubeRSS&utm_campaign=Badge_Grade)
3+
[![Build Status](https://github.com/Veltys/YoutubeRSS/actions/workflows/tester.yml/badge.svg?branch=testing)](https://github.com/Veltys/YoutubeRSS/actions)
4+
[![GitHub release](https://img.shields.io/github/release/Veltys/YoutubeRSS.svg)](https://GitHub.com/Veltys/YoutubeRSS/releases/)
5+
[![GitHub commits](https://badgen.net/github/commits/Veltys/YoutubeRSS)](https://GitHub.com/Veltys/YoutubeRSS/commit/)
6+
[![GitHub latest commit](https://badgen.net/github/last-commit/Veltys/YoutubeRSS)](https://GitHub.com/Veltys/YoutubeRSS/commit/)
7+
[![GPLv3 license](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://github.com/Veltys/YoutubeRSS/blob/master/LICENSE)
38

49
Script en Python para obtener las suscripciones de un usuario de YouTube y convertirlas al formato OPML 1.0
510

@@ -28,27 +33,38 @@ Su formato se basa en [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) y
2833
- [ ] Integración con la API de Feedly
2934

3035

31-
## [1.0.3] - 2022-11-18
32-
### Añadido
33-
- Testeo en Travis CI
36+
### [1.0.4] - 2023-01-03
37+
#### Añadido
38+
- Badges
39+
- Tests de CI en GitHub Actions
3440

35-
### Arreglado
41+
#### Arreglado
42+
- Formato de **README.md**
43+
44+
#### Borrado
45+
- Tests de CI en Travis CI
46+
47+
### [1.0.3] - 2022-11-18
48+
#### Añadido
49+
- Tests de CI en Travis CI
50+
51+
#### Arreglado
3652
- Error en el formato de este archivo
3753
- Cambio en la autenticación de la API de Google
3854
- Más controles de errores
3955
- Refactorizaciones varias
4056

41-
## [1.0.2] - 2022-03-29
42-
### Arreglado
57+
### [1.0.2] - 2022-03-29
58+
#### Arreglado
4359
- Los nombres de los canales necesitan ser *escapados*
4460

45-
### Eliminado
61+
#### Eliminado
4662
- Código de depuración no necesario en la rama **master**
4763

48-
## [1.0.1] - 2022-03-02
49-
### Arreglado
64+
### [1.0.1] - 2022-03-02
65+
#### Arreglado
5066
- Calidad de código
5167

52-
## [1.0.0] - 2022-03-02
53-
### Añadido
68+
### [1.0.0] - 2022-03-02
69+
#### Añadido
5470
- Script con las funcionalidades esperadas

secrets.tar.enc

-10 KB
Binary file not shown.

secrets.tgz.gpg

885 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)