Use checkout and setup-python v3 actions and drop dev install

no_git_prot_w_pip
Tyler Goodlet 2022-04-12 21:30:20 -04:00
parent 6324624811
commit a45156cbb7
1 changed files with 5 additions and 24 deletions

View File

@ -1,5 +1,6 @@
name: CI name: CI
on: on:
# Triggers the workflow on push or pull request events but only for the master branch # Triggers the workflow on push or pull request events but only for the master branch
push: push:
@ -10,39 +11,19 @@ on:
# Allows you to run this workflow manually from the Actions tab # Allows you to run this workflow manually from the Actions tab
workflow_dispatch: workflow_dispatch:
jobs: jobs:
basic_install:
name: 'pip install'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: master
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: pip install -e . -r requirements.txt
- name: Run piker cli
run: piker
testing: testing:
name: 'test suite' name: 'install + test-suite'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Setup python - name: Setup python
uses: actions/setup-python@v2 uses: actions/setup-python@v3
with: with:
python-version: '3.10' python-version: '3.10'