Skip to content

Create README.md

Create README.md #133

Workflow file for this run

name: Test
concurrency:
group: ${{ github.ref }}
on:
push:
branches:
- '*'
workflow_dispatch:
inputs:
do-it:
description: 'shall we do it'
required: false
type: boolean
default: false
skip_test:
description: 'skip tests'
required: false
type: boolean
default: false
jobs:
test:
runs-on: ubuntu-latest
if: inputs.skip_test != true
strategy:
fail-fast: false
matrix:
k: [ flaky1, flaky2]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: pip install pytest
# - run: pytest -k ${{ matrix.k }}'
- run: sleep 10
after:
runs-on: ubuntu-latest
needs: test
steps:
- run: echo woop woop
tag:
runs-on: ubuntu-latest
if: inputs.do-it || github.ref == 'refs/heads/master'
steps:
- name: Checkout code
uses: actions/checkout@v2
- run: echo ${{ inputs.do-it }}
- name: tag
env:
TAG: gha-ci-${{ github.run_number }}-${{ github.run_attempt }}
run: git tag "$TAG" && git push origin "$TAG"