Skip to content

update action

update action #83

Workflow file for this run

on: [push, pull_request, workflow_dispatch]
jobs:
demo_job:
name: create test env
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
config_file: ['./test/setup.cfg', './test/pyproject.toml']
steps:
- uses: actions/checkout@v3
- name: setup package
run: python -m setuptools_scm
- name: run local action code
uses: ./
with:
file: ${{ matrix.config_file }}
output: 'environment_test.yml'
channels: 'conda-forge defaults'
extras: 'test pip_only'
setup_requires: 'include'
pip: 'bidict'
- uses: mamba-org/setup-micromamba@v1.4.3
with:
environment-file: ./environment_test.yml
environment-name: demo
init-shell: >-
bash
powershell
cache-environment: true