Skip to content

Fix problem with version handling when AnyBody can not be found #108

Fix problem with version handling when AnyBody can not be found

Fix problem with version handling when AnyBody can not be found #108

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:
runs-on: [self-hosted, AnyBody]
needs: lint
steps:
- uses: actions/checkout@v3
- uses: prefix-dev/setup-pixi@v0.4.1
with:
cache: true
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
- name: build
run: pixi run --frozen pip install .
- name: Test with pytest
run: pixi run --frozen pytest tests
test-linux-cloud:
runs-on: ubuntu-latest
container: ghcr.io/anybody/anybodycon-github-actions:latest_Beta
needs: lint
steps:
- uses: actions/checkout@v3
- name: install
run: pip install .
- name: test
env:
RLM_LICENSE_PASSWORD: ${{ secrets.LICENSE_PASSWORD }}
RLM_LICENSE: ${{ secrets.LICENSE_SERVER }}
run: pytest tests