Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try adding gh action #150

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# .github/workflows/unittest.yml: configuration file for github actions worflow
# This file was automatically generated using 'python -m vsc.install.ci'
# DO NOT EDIT MANUALLY
jobs:
python_unittests:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: install tox
run: pip install 'virtualenv<20.22.0' 'tox<4.5.0'
- name: add mandatory git remote
run: git remote add hpcugent https://github.com/hpcugent/vsc-administration.git
- name: Run tox
run: tox -e py
strategy:
matrix:
python:
- 3.6
- 3.9
name: run python tests
'on':
- push
- pull_request
1 change: 1 addition & 0 deletions vsc-ci.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[vsc-ci]
py39_tests_must_pass=1
enable_github_actions=1