Skip to content

tests: Add tests to cover the context feature (#130) #45

tests: Add tests to cover the context feature (#130)

tests: Add tests to cover the context feature (#130) #45

Workflow file for this run

name: Release Worker
on:
push:
tags:
- worker-v*
jobs:
check-main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Ensure tag is on main
run: |
git fetch origin main
git merge-base --is-ancestor "$GITHUB_SHA" origin/main
build:
if: github.repository_owner == 'ccxlv'
name: ${{ matrix.os }} (Py ${{ matrix.python-version }})
strategy:
matrix:
os: [ubuntu-latest, macos-latest, macos-15-intel, windows-latest]
python-version: ["3.11", "3.12", "3.13", "3.14"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Run Build Suite
uses: ./.github/actions/build-worker
with:
python-version: ${{ matrix.python-version }}
release:
if: github.repository_owner == 'ccxlv'
needs: [build]
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
path: artifacts
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref_name }}
name: ${{ github.ref_name }}
files: artifacts/**/*
draft: false
prerelease: false