Skip to content

Fix publish and codecov #10

Fix publish and codecov

Fix publish and codecov #10

Workflow file for this run

name: Test 🧪 & Check 🧐
on:
push:
branches:
- "**"
tags:
- "v*"
pull_request:
branches:
- "**"
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
environment: [test-py312]
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
environments: ${{ matrix.environment }}
- name: Run tests
run: pixi r -e ${{ matrix.environment }} test
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
check:
runs-on: ubuntu-latest
strategy:
matrix:
environment: [dev-py312]
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
environments: ${{ matrix.environment }}
- name: Run check
run: pixi r -e ${{ matrix.environment }} check
call-build-publish:

Check failure on line 44 in .github/workflows/test-check.yaml

View workflow run for this annotation

GitHub Actions / Test 🧪 & Check 🧐

Invalid workflow file

The workflow is not valid. .github/workflows/test-check.yaml (Line: 44, Col: 3): Error calling workflow 'RemiKalbe/resulty/.github/workflows/build-publish.yaml@30a4808f798447e0c77ef53d5faa9923d10a9b19'. The nested job 'build-publish' is requesting 'id-token: write', but is only allowed 'id-token: none'.
if: startsWith(github.ref, 'refs/tags/v')
needs: [test, check]
uses: ./.github/workflows/build-publish.yaml