Skip to content

Commit

Permalink
Test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertCraigie committed Sep 22, 2024
1 parent b130cc6 commit 09c7cd1
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/tmp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: test dist

on:
pull_request:
branches:
- main
workflow_dispatch:

jobs:
upload_artifact:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Install dependencies
run: |
python -m pip install -r dev-requirements.txt
- name: Download pyright dist
run: |
python scripts/download_pyright.py
- name: Get version
run: |
echo "NEW_VERSION=$(python .github/scripts/get_version.py --compare)" >> $GITHUB_ENV
- name: Build package
run: |
python setup.py sdist bdist_wheel
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: pyright-python-dist
path: dist/*

0 comments on commit 09c7cd1

Please sign in to comment.