Skip to content

Dockerfile, setup.cfg, multiprocessing, etc. #24

Dockerfile, setup.cfg, multiprocessing, etc.

Dockerfile, setup.cfg, multiprocessing, etc. #24

name: Continuous Integration
on:
push:
branches: [ "main" ]
paths:
- 'parsoda/**'
- 'test/**'
- 'resources/input/**'
- 'Dockerfile'
- 'requirements**'
- '.github/workflows/continuous-integration.yml'
pull_request:
branches: [ "main" ]
paths:
- 'parsoda/**'
- 'test/**'
- 'resources/input/**'
- 'Dockerfile'
- 'requirements**'
- '.github/workflows/continuous-integration.yml'
permissions:
contents: read
jobs:
integration-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Docker image
run: docker build -t local .
- name: Run unit tests
run: docker run -t local python3 -m unittest -v
- name: Run build tests
run: docker run -t local python3 -m pip install .