Skip to content

Enables headers on parser. Utility for libFacturacioATR #24

Enables headers on parser. Utility for libFacturacioATR

Enables headers on parser. Utility for libFacturacioATR #24

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python 2.7
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Python 2.7
run: |
sudo apt update
sudo apt install python2 python-pip
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 2
printf '1\n' | sudo update-alternatives --config python
cd /usr/bin
sudo ln -s /usr/bin/pip2 ./pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install coveralls
pip install -e .
- name: Test with mamba
env:
ESIOS_TOKEN: ${{secrets.ESIOS_TOKEN}}
run: |
export ESIOS_TOKEN="$ESIOS_TOKEN"
mamba --enable-coverage