Skip to content

NPF performance improvement #262

NPF performance improvement

NPF performance improvement #262

Workflow file for this run

name: Python application
on:
push:
branches:
- '*'
pull_request:
branches: [ master ]
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Build and push
uses: docker/build-push-action@v5
with:
push: false
tags: tbarbette/npf:latest
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ hashFiles('setup.py') }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install -e .
pip install pytest
- name: Version
run: |
npf-run --version
- name: Unit test
run: |
python -m pytest integration/test_unittest.py
- name: Run-time tests
run: |
./integration/integration.sh