Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
  • Loading branch information
CagtayFabry committed Mar 10, 2024
1 parent 4a02c01 commit 7c3f83e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
config_file: [./test/setup.cfg, ./test/pyproject.toml]
steps:
- uses: actions/checkout@v4
- name: run local action code
uses: ./
with:
file: ${{ matrix.config_file }}
files: ./test/pyproject.toml ./test/setup.cfg
output: environment_test.yml
channels: conda-forge defaults
extras: test pip_only
Expand Down
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: pydeps2env
description: create conda environment file from python project dependencies
inputs:
file:
files:
description: >-
Specify the location of the 'setup.cfg' file to parse. (defaults to 'setup.cfg')
Specify the location of the dependencies files to parse. (defaults to 'pyproject.toml')
required: true
default: setup.cfg
default: pyproject.toml
output:
description: >-
Specify the location and name of the conda environment file to generate. (defaults to 'environment.yml')
Expand Down

0 comments on commit 7c3f83e

Please sign in to comment.