Initial TPP release (for testing before release) #19
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: Run Resolve test case | |
on: | |
workflow_call: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'src/**' | |
- 'pyproject.toml' | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: continuumio/miniconda3 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install OS dependencies (apt-get) | |
run: | | |
apt-get update | |
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gcc python3-dev | |
- name: Create Resolve environment (Miniconda) | |
run: | | |
conda env create -q -f environment-rtd.yml | |
- name: Run pytest | |
run: | | |
conda run -n resolve-rtd --no-capture-output --cwd tests/resolve/ pytest test_run_opt.py |