CI #199
Workflow file for this run
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
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: CI | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push or pull request events but only for the main branch | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
Env_check: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up env with pixi goodness | |
uses: prefix-dev/[email protected] | |
with: | |
cache: true | |
activate-environment: true | |
environment: journey | |
- name: Run pixi | |
run: pixi shell | |
# uses: conda-incubator/setup-miniconda@master | |
# with: | |
# miniforge-variant: Miniforge3 | |
# miniforge-version: latest | |
# activate-environment: journey | |
# environment-file: environment.yml | |
# python-version: ${{ matrix.python-version }} | |
# auto-activate-base: false | |
# channels: conda-forge | |
# channel-priority: strict | |
# | |
# - name: Install package | |
# run: | | |
# pip install -e . | |
## - name: Test with pytest | |
## run: | | |
## pytest tests/package.py | |
# - name: Conda info | |
# run: conda info | |
# - name: Conda list | |
# run: conda list |