Skip to content

Commit

Permalink
first try of github test action
Browse files Browse the repository at this point in the history
  • Loading branch information
luerhard committed Nov 22, 2023
1 parent bb8a06b commit 1aaa1a6
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Run Tests

on:
push:
branches:
- main
- dev
- use_poetry


jobs:
run_tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
set-safe-directory: "*"
fetch-depth: 1
- name: install graph-tool
run: apt-get install -y python-graph-tool
- name: install poetry
uses: Gr1N/setup-poetry@v8
- name: Create Environment
run: |
python3 -m venv --system-site-packages .venv
poetry env use .venv/bin/python
poetry install -E net
- name: Run Tests
run: poetry run pytest

0 comments on commit 1aaa1a6

Please sign in to comment.