Skip to content

ci: fix dry-run in deploy.yml #29

ci: fix dry-run in deploy.yml

ci: fix dry-run in deploy.yml #29

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- master
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pre_job:
# continue-on-error: true # Uncomment once integration is finished
runs-on: ubuntu-24.04
# Map a step output to a job output
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
# All of these options are optional, so you can remove them if you are happy with the defaults
concurrent_skipping: 'same_content_newer'
skip_after_successful_duplicate: 'true'
paths_ignore: '["**/README.md", "**/docs/**"]'
# do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]'
doctest:
needs: pre_job
if: needs.pre_job.outputs.should_skip != 'true'
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: deargen/workflows/actions/setup-python-and-uv@master
- name: Install dependencies
run: |
uv venv
source .venv/bin/activate
uv pip install -r deps/lock/x86_64-manylinux_2_28/requirements_dev.txt
bash scripts/install.sh
- name: Run doctest
uses: deargen/workflows/actions/run-doctest@master