Skip to content

iblfuncs_cpu: Avoid some unnecessary object creation for filter_env_map #126

iblfuncs_cpu: Avoid some unnecessary object creation for filter_env_map

iblfuncs_cpu: Avoid some unnecessary object creation for filter_env_map #126

Workflow file for this run

name: Pipeline
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Setup xvfb
run: |
sudo apt-get install -y xvfb
Xvfb :1 -screen 0 1024x1024x16 &
- name: Run Tests
env:
DISPLAY: :1
run: |
python -m pip install -e .[test]
python -m pytest
- name: Build package
run: |
python -m pip install --upgrade build
python -m build
- name: Publish package
if: startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}