Skip to content

ci!: Create todo_to_issue.yml #15

ci!: Create todo_to_issue.yml

ci!: Create todo_to_issue.yml #15

Workflow file for this run

name: "Build Testing"
on:
push:
branches:
- main
pull_request:
schedule:
- cron: "20 1 * * mon"
workflow_dispatch:
defaults:
run:
shell: bash -l {0} # Login shell for conda
jobs:
unit_tests:
name: "Testing on ${{ matrix.os }}"
runs-on: "${{ matrix.os }}"
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
# TODO(teald): - macos-latest | Issue #39
python-version:
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: "actions/checkout@v4"
- uses: excitedleigh/[email protected]
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: "${{ matrix.python-version }}"
- name: "Install and update pip"
run: |
conda install -c conda-forge pip
pip install --upgrade pip poetry
- name: "Unit tests"
run: nox -s build_tests_unit -x -- -vv
integration_tests:
name: "Testing on ${{ matrix.os }}"
runs-on: "${{ matrix.os }}"
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
# TODO(teald): - macos-latest | Issue #39
python-version:
- "3.10"
steps:
- uses: "actions/checkout@v4"
- uses: excitedleigh/[email protected]
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: "${{ matrix.python-version }}"
- name: "Install and update pip"
run: |
conda install -c conda-forge pip
pip install --upgrade pip poetry
- name: "Integration tests"
run: nox -s build_tests_integration -x -- -vv