Skip to content

Commit

Permalink
DAG-2764 Update github actions ubuntu version. (#25)
Browse files Browse the repository at this point in the history
* DAG-2764 Update github actions ubuntu version.
  • Loading branch information
ahartschen authored Aug 2, 2023
1 parent 1c8f98f commit 30d0f66
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- master
jobs:
test:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [3.8]
Expand All @@ -22,17 +22,15 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
source $HOME/.poetry/env
pip install poetry==1.3.2
poetry install
- name: Test
run: |
source $HOME/.poetry/env
poetry run pytest --runslow
deploy:
needs: test
if: ${{ github.event_name == 'push' }}
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
name: Publish Package
steps:
- name: Checkout
Expand Down
13 changes: 6 additions & 7 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ build = "build.py"
[tool.poetry.dependencies]
python = "^3.8"
more-itertools = "^8.2.0"
setuptools = "< 60.0.0"
numpy = "^1.24.4"
scipy = "^1.8.1"
structlog = "^19.1"
Expand Down

0 comments on commit 30d0f66

Please sign in to comment.