Skip to content

Commit

Permalink
Matrix Python-version removed for mamba-org/provision-with-micromamba@
Browse files Browse the repository at this point in the history
  • Loading branch information
henrykironde committed Nov 5, 2024
1 parent 2de236b commit 9a6bf02
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: YAPF Google chromium style
name: YAPF Google Chromium Style Check

on:
push:
Expand All @@ -13,28 +13,26 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version:
- 3.9
os:
- "ubuntu-latest"
python-version: [3.12]
os: [ubuntu-latest]

runs-on: "${{ matrix.os }}"

# use bash everywhere
defaults:
run:
shell: "bash -l {0}"

steps:
- uses: actions/checkout@v3
- uses: mamba-org/provision-with-micromamba@v15

- name: Set up micromamba
uses: mamba-org/provision-with-micromamba@v15
with:
environment-name: Zooniverse
environment-file: dev_environment.yml
python-version: "${{ matrix.python-version }}"
cache-env: true
cache-downloads: true

- name: "Run tests"
- name: Run YAPF code style check
run: |
yapf -d ./*.py --style=.style.yapf 2>&1

0 comments on commit 9a6bf02

Please sign in to comment.