Skip to content

fix: add timeout-minutes and FLOX_DISABLE_METRICS #14

fix: add timeout-minutes and FLOX_DISABLE_METRICS

fix: add timeout-minutes and FLOX_DISABLE_METRICS #14

Workflow file for this run

name: "CI"
on:
pull_request:
workflow_dispatch:
push:
branches:
- "main"
concurrency:
group: "${{ github.workflow }}-${{ github.head_ref || github.sha }}"
cancel-in-progress: true
env:
FLOX_DISABLE_METRICS: "true"
jobs:
test-action:
name: "Github Action Test"
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
matrix:
os:
- "ubuntu-latest"
- "macos-latest"
channel:
- "stable"
- "nightly"
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
- name: "Install Flox"
uses: "flox/install-flox-action@main"
with:
channel: "${{ matrix.channel }}"
- name: "Test Local Action"
uses: "./"
with:
environment: "flox/nb"
command: "python --version"