Skip to content

Version bumped and added libegl to test workflow #3

Version bumped and added libegl to test workflow

Version bumped and added libegl to test workflow #3

Workflow file for this run

name: ⚙️ Test arcjetCV
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest] # macos-latest, windows-latest,
python-version: ['3.9']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install libgl1 libgl-dev libegl-dev libx11-dev libxcb1-dev -y
conda env create -f env/arcjetCV_env_cpu.yml
conda init bash
source ~/.bashrc
conda activate arcjetCV
conda install -c conda-forge pytest pytest-qt pytest-mock qt-main
python -m pip install --upgrade pip
python -m pip install -e .
python -c "import arcjetCV"
- name: Test with pytest
working-directory: ./tests
run: |
conda init bash
source ~/.bashrc
conda activate arcjetCV
pytest