Skip to content

Bump cicirello/pyaction from 4.31.0 to 4.32.0 #773

Bump cicirello/pyaction from 4.31.0 to 4.32.0

Bump cicirello/pyaction from 4.31.0 to 4.32.0 #773

Workflow file for this run

name: build
on:
push:
branches: [ main ]
paths-ignore: [ '**.svg', '**.md' ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Run Python unit tests
run: |
python3 -u -m unittest tests/tests.py
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Verify that the Docker image for the action builds
run: docker build . --file Dockerfile
- name: Integration test
id: integration
uses: ./
with:
colors: dark
commit-and-push: false
featured-repository: Chips-n-Salsa
animated-language-chart: true
locale: en
#fail-on-error: false
#category-order: general, repositories, languages, contributions
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Output the outputs of the integration test of the action
run: |
echo "exit-code = ${{ steps.integration.outputs.exit-code }}"
- name: Upload generated SVG as a workflow artifact for inspection if necessary
uses: actions/upload-artifact@v4
with:
name: generated-image
path: images/userstats.svg