Skip to content

Bump zipp from 3.16.2 to 3.19.1 (#136) #18

Bump zipp from 3.16.2 to 3.19.1 (#136)

Bump zipp from 3.16.2 to 3.19.1 (#136) #18

Workflow file for this run

name: Main
on:
push:
branches:
- master
pull_request:
env:
LANG: C.UTF-8
jobs:
test:
runs-on: ubuntu-latest
container: ghcr.io/apertium/apertium-apy-cicd
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
# - "3.11"
# - "3.12"
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pipenv
- name: Install Pipenv
run: python -m pip install pipenv
- name: Install Pip dependencies
run: pipenv install --deploy --dev
- name: Build
run: pipenv run make
- name: Setup Git user
run: git config --global user.email "test@example.com" && git config --global user.name "test"
- name: Test
run: pipenv run make unit-test
lint:
runs-on: ubuntu-latest
container: ghcr.io/apertium/apertium-apy-cicd
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: pipenv
- name: Install Pipenv
run: python -m pip install pipenv
- name: Install Pip dependencies
run: pipenv install --deploy --dev
- name: Build
run: pipenv run make
- name: Lint
run: pipenv run make lint
coverage:
runs-on: ubuntu-latest
container: ghcr.io/apertium/apertium-apy-cicd
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: pipenv
- name: Install Pipenv
run: python -m pip install pipenv
- name: Install Pip dependencies
run: pipenv install --deploy --dev
- name: Build
run: pipenv run make
- name: Setup Git user
run: git config --global user.email "test@example.com" && git config --global user.name "test"
- name: Test
run: pipenv run make coverage
- name: Coveralls
run: pipenv run coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}