Skip to content

rockcraft file and tests #1

rockcraft file and tests

rockcraft file and tests #1

Workflow file for this run

name: Python
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@v2
with:
egress-policy: audit
- name: Check out code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install tox
run: pip install tox
- name: Lint
run: |
tox -e lint
- name: Test
run: |
tox -e test