Skip to content

Commit

Permalink
Merge pull request #190 from conda-incubator/tests-issue-114
Browse files Browse the repository at this point in the history
  • Loading branch information
goanpeca committed May 26, 2022
2 parents bfa4ff3 + 5d42532 commit 47f7baa
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/regression-checks.yml
@@ -0,0 +1,43 @@
name: "Regression checks"

on:
pull_request:
branches:
- "*"
push:
branches:
- "master"
schedule:
# Note that cronjobs run on master/main by default
- cron: "0 0 * * *"

jobs:
issue-114:
# prevent cronjobs from running on forks
if:
(github.event_name == 'schedule' && github.repository ==
'conda-incubator/setup-miniconda') || (github.event_name != 'schedule')
name: Issue 114 (${{ matrix.os }})
runs-on: ${{ matrix.os }}-latest
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
os: ["ubuntu", "macos", "windows"]
python-version: ["3.9"]
steps:
- uses: actions/checkout@v2
- uses: ./
id: setup-miniconda
with:
environment-file: etc/example-environment-explicit.yml
python-version: ${{ matrix.python-version }}
- run: |
conda info
conda list
printenv | sort
- run: |
set -x
python -c "import sys; assert f'{sys.version_info.major}.{sys.version_info.minor}' == '${{ matrix.python-version }}'"

0 comments on commit 47f7baa

Please sign in to comment.