Skip to content

fix: test one hotfix then version #232

fix: test one hotfix then version

fix: test one hotfix then version #232

Workflow file for this run

name: Test Action
on:
pull_request:
branches:
- main
push:
jobs:
test-action:
runs-on: ubuntu-latest
name: Test the action
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run the action
id: get-release-version
uses: ./
with:
create-tag: "false"
- name: Print the outputs
run: |
echo "version=${{ steps.get-release-version.outputs.version }}"
echo "version-name=${{ steps.get-release-version.outputs.version-name }}"
echo "previous-version=${{ steps.get-release-version.outputs.previous-version }}"
echo "previous-version-name=${{ steps.get-release-version.outputs.previous-version-name }}"
echo "tag-created=${{ steps.get-release-version.outputs.tag-created }}"
run-tests:
runs-on: ubuntu-latest
name: Run E2E Tests
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: .github/actions/setup-python
- name: Run pytest
run: poetry run pytest --junit-xml test-result.xml tests/e2e
- name: Upload test results
if: always()
uses: pmeier/[email protected]
with:
path: test-result.xml
summary: true
display-options: fEX
fail-on-empty: true
title: E2E Test Results