Skip to content

Commit

Permalink
chg: switch conda workflow to condadev environment
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Arnold <[email protected]>
  • Loading branch information
sarnold committed Sep 8, 2024
1 parent e975b7c commit 23c46dc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/conda.yml → .github/workflows/conda-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: CondaDev

on:
workflow_dispatch:
#push:
#branches:
#- master
#pull_request:
push:
branches:
- master
pull_request:

jobs:
build:
Expand All @@ -14,17 +14,15 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ['macos-11', 'ubuntu-22.04']
python-version: ['3.8', '3.11']
os: ['ubuntu-22.04', 'macos-13', 'windows-latest']
python-version: [3.8', '3.9', '3.10', '3.11', '3.12']
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
PYTHONIOENCODING: utf-8

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: conda-incubator/setup-miniconda@v3
with:
Expand All @@ -39,7 +37,7 @@ jobs:
uses: actions/cache@v4
env:
# Increase this value to reset cache and rebuild the env during the PR
CACHE_NUMBER: 3
CACHE_NUMBER: 0
with:
path: /home/runner/conda_pkgs_dir
key:
Expand Down
5 changes: 2 additions & 3 deletions environment.devenv.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: pyre2

dependencies:
- python ==3.11
- cmake >=3.18
- python
- cmake>=3.18
- ninja
- cython
- cxx-compiler
Expand All @@ -11,4 +11,3 @@ dependencies:
- re2
- pytest
- regex
- six

0 comments on commit 23c46dc

Please sign in to comment.