Skip to content

Commit bae3b9e

Browse files
committed
Migrar CI de TravisCI a Github Actions
1 parent ac68665 commit bae3b9e

File tree

2 files changed

+38
-19
lines changed

2 files changed

+38
-19
lines changed

.github/workflows/main.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches:
6+
- 3.*
7+
pull_request:
8+
9+
jobs:
10+
test:
11+
name: Test
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Preparar Python v3.8
16+
uses: actions/setup-python@v2
17+
with:
18+
python-version: 3.8
19+
- name: Sincronizar con CPython
20+
run: |
21+
git submodule sync
22+
git submodule update --init --force cpython
23+
- name: Instalar dependencias
24+
run: |
25+
sudo apt-get update
26+
sudo apt-get install -y hunspell hunspell-es gettext
27+
python -m pip install -q -r requirements.txt
28+
pip list
29+
pospell --version
30+
powrap --version
31+
- name: Powrap
32+
run: powrap --check --quiet **/*.po
33+
- name: Pospell
34+
run: |
35+
awk 1 dict dictionaries/*.txt > dict.txt
36+
pospell -p dict.txt -l es_AR -l es_ES **/*.po
37+
- name: Construir documentación
38+
run: PYTHONWARNINGS=ignore::FutureWarning sphinx-build -j auto -W --keep-going -b html -d cpython/Doc/_build/doctree -D language=es . cpython/Doc/_build/html

.travis.yml

-19
This file was deleted.

0 commit comments

Comments
 (0)