Skip to content

Commit

Permalink
deployment updates
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdicaprio committed Jul 24, 2023
1 parent 90ff727 commit 8d31da9
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ name: dev workflow
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master, main ]
branches: [ main ]
pull_request:
branches: [ master, main ]
branches: [ main ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -20,8 +20,8 @@ jobs:
# The type of runner that the job will run on
strategy:
matrix:
python-versions: [3.8, 3.9]
os: [ubuntu-18.04]
python-versions: [3.8, 3.9, 3.10]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}

# Steps represent a sequence of tasks that will be executed as part of the job
Expand All @@ -33,16 +33,20 @@ jobs:
python-version: ${{ matrix.python-versions }}

- name: Install dependencies
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true

- name: Install dependencies w Poetry
run: |
python -m pip install --upgrade pip
pip install poetry tox tox-gh-actions
poetry export --dev --without-hashes > reqs.txt
pip install -r reqs.txt
pip install .
poetry install --with dev
poetry add tox-gh-actions
- name: test with tox
run:
tox
poetry run tox

- name: list files
run: ls -l .
Expand Down

0 comments on commit 8d31da9

Please sign in to comment.