Skip to content

first working version #9

first working version

first working version #9

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
container:
image: python:3.10
steps:
- uses: actions/checkout@v4
- name: Install dependencies.
run : |
python -m pip install -r requirements/requirements.python.txt -r requirements/requirements.python.test.txt
- name: Run tests.
run : |
python -m pytest tests
install-as-package-and-test:
runs-on: [ubuntu-latest]
container:
image: python:3.10
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: |
README.md
persist-credentials: true
- name: Install as package.
run : |
git config --global url."https://${{ secrets.GH_TOKEN }}@github".insteadOf https://github
pip install git+https://github.com/uliegecsm/apt-helpers.git@${{ github.sha }}
- name: Test as CLI directly.
run : |
apt-helpers install-packages --update --clean --upgrade --packages jq