Skip to content

Allow shims of AnyBodyCon exe files on PATH #162

Allow shims of AnyBodyCon exe files on PATH

Allow shims of AnyBodyCon exe files on PATH #162

Workflow file for this run

name: test
on:
pull_request:
branches: [ master ]
workflow_dispatch:
concurrency:
group: ci-test-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
with:
src: "./anypytools"
test:
strategy:
matrix:
env: ["test", "test-py37"]
runs-on: windows-latest
needs: lint
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/setup-pixi@v0.8.1
with:
environments: ${{ matrix.env }}
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'master' }}
activate-environment: test
- name: Test with pytest
run: pytest tests
env:
RLM_LICENSE_PASSWORD: ${{ secrets.LICENSE_PASSWORD }}
RLM_LICENSE: ${{ secrets.LICENSE_SERVER }}
test-linux-cloud:
runs-on: ubuntu-latest
container: ghcr.io/anybody/anybodycon-github-actions:latest
needs: lint
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/setup-pixi@v0.8.1
with:
environments: test
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'master' }}
activate-environment: test
- name: test
env:
RLM_LICENSE_PASSWORD: ${{ secrets.LICENSE_PASSWORD }}
RLM_LICENSE: ${{ secrets.LICENSE_SERVER }}
run: pytest tests