removed docker pull #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cuboid | |
on: | |
pull_request: | |
branches: | |
- develop | |
- main | |
jobs: | |
testing: | |
runs-on: ubuntu-latest | |
container: | |
image: continuumio/miniconda3:23.3.1-0 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: install dependencies | |
run: | | |
apt-get --allow-releaseinfo-change update | |
apt-get update -y | |
apt-get upgrade -y | |
apt-get install -y libgl1-mesa-glx libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev libosmesa6 libosmesa6-dev libgles2-mesa-dev libarchive-dev libpangocairo-1.0-0 | |
conda install -y -c conda-forge mamba | |
mamba install -y -c cadquery -c conda-forge moab gmsh python-gmsh cadquery=master openmc | |
pip install cad_to_dagmc | |
- name: install package with tests | |
run: | | |
pip install .[tests] | |
- name: Run tests | |
run: | | |
pytest tests/test_csg_cad_sphere.py |