Skip to content

Bump pytest-xdist from 2.5.0 to 3.3.1 #64

Bump pytest-xdist from 2.5.0 to 3.3.1

Bump pytest-xdist from 2.5.0 to 3.3.1 #64

Workflow file for this run

name: Sanity Checks
on:
pull_request:
types: [opened, edited, synchronize, reopened]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: pre-commit/action@v3.0.0
tagging:
name: "Tagging (dry-run)"
needs: pre-commit
runs-on: ubuntu-latest
outputs:
net_tag: ${{ steps.tag_version.outputs.new_tag }}
steps:
- uses: actions/checkout@v3
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/github-tag-action@v6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
dry_run: true
- run: echo "Calculated Next Tag is ${{ steps.tag_version.outputs.tags }}"
#use this with ${{needs.job1.outputs.output1}}
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: arduino/setup-task@v1
- name: Prepare dev env
run: task setup
- name: Lint and tests
run: |
source .venv/bin/activate
task test
build:
name: "Test build wheel"
runs-on: ubuntu-latest
needs:
- pre-commit
- tagging
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: arduino/setup-task@v1
- run: task setup
- run: |
source .venv/bin/activate
task build
# docker-build:
# name: "Test Build"
# runs-on: ubuntu-latest
# needs:
# - pre-commit
# - tagging
# env:
# IMAGE_NAME: jackbit/porcupine
# steps:
# - uses: actions/checkout@v2
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v1
# - name: Docker meta
# id: meta
# uses: docker/metadata-action@v3
# with:
# images: ${{env.IMAGE_NAME}}
# flavor: |
# latest=auto
# prefix=
# suffix=
# tags: |
# type=raw,value=${{needs.tagging.outputs.next_tag}}
# - name: Build and push
# uses: docker/build-push-action@v2
# with:
# file: containers/Dockerfile
# push: ${{ github.event_name != 'pull_request' }}
# tags: ${{ steps.meta.outputs.tags }}