Bump the gh-actions group across 1 directory with 3 updates #240
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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@v6 | |
| - uses: psf/black@stable | |
| with: | |
| src: "./anypytools" | |
| test: | |
| strategy: | |
| matrix: | |
| env: ["test"] | |
| runs-on: windows-latest | |
| needs: lint | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: prefix-dev/setup-pixi@v0.9.4 | |
| 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-no-anybodycon: | |
| runs-on: windows-latest | |
| needs: lint | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: prefix-dev/setup-pixi@v0.9.4 | |
| with: | |
| environments: test-no-anybodycon | |
| cache-write: ${{ github.event_name == 'push' && github.ref_name == 'master' }} | |
| - name: Test that .any tests fail without anybodycon | |
| shell: bash | |
| run: | | |
| ! pixi run -e test-no-anybodycon pytest tests/test_Arm2D.any --no-header -rN | |
| # Linux builds have started failing with AMS 8.1 due to some WINE issue: | |
| # ----------------------------- Captured stderr call ----------------------------- | |
| # wine: Call from 00006FFFFF463DF7 to unimplemented function ucrtbase.dll.feholdexcept, aborting | |
| # wine: Unimplemented function ucrtbase.dll.feholdexcept called at address 00006FFFFF463DF7 (thread 0524), starting debugger... | |
| # wine: Call from 00006FFFFF463DF7 to unimplemented function ucrtbase.dll.feholdexcept, aborting | |
| # | |
| # This link hits at solutions: https://forum.winehq.org/viewtopic.php?t=40355 | |
| # Either something with WINETRICKS or using a the newest WINE 10.1 | |
| # | |
| # So this can not be fixed until we update the AnyBody Linux containers. | |
| # | |
| # | |
| # test-linux-cloud: | |
| # runs-on: ubuntu-latest | |
| # container: ghcr.io/anybody/anybodycon-github-actions:latest | |
| # needs: lint | |
| # steps: | |
| # - uses: actions/checkout@v6 | |
| # - uses: prefix-dev/setup-pixi@v0.9.4 | |
| # 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 |