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

Change travis #65

Merged
merged 15 commits into from
Dec 9, 2023
Merged
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
38 changes: 38 additions & 0 deletions .github/workflows/Build & Run with python2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build & Run with python2
run-name: ${{ github.actor }} is Trying GitHub Actions
on: [push]

jobs:
test-python2:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python 2.7
run: sudo apt-get install python2

- name: Install Tkinter
run: sudo apt-get install python-tk

- name: Display Python version
run: python2 -c "import sys; print(sys.version)"

- name: Install GRO2LAM setup
run: python2 setup -t

- name: Install xvfb
run: sudo apt install xvfb
- name: Check xvfb
run: ps -ef | grep xvfb

- name: before_script 1
run: "export DISPLAY=:99.0"
- name: before_script 2
run: sleep 3 # give xvfb some time to start

- name: Run Gro2Lam
run: xvfb-run python2 run



35 changes: 35 additions & 0 deletions .github/workflows/Build_Py2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build_Py2
run-name: ${{ github.actor }} is Trying GitHub Actions
on: [push]

jobs:
test-python2:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python 2.7
run: sudo apt-get install python2

- name: Install Tkinter
run: sudo apt-get install python-tk

- name: Display Python version
run: python2 -c "import sys; print(sys.version)"

- name: Install GRO2LAM setup
run: python2 setup -t

- name: Install xvfb
run: sudo apt install xvfb
- name: Check xvfb
run: ps -ef | grep xvfb

- name: before_script 1
run: "export DISPLAY=:99.0"
- name: before_script 2
run: sleep 3 # give xvfb some time to start

- name: Run Gro2Lam
run: xvfb-run python2 run
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

python 2.7: [![Build Status](https://travis-ci.org/hernanchavezthielemann/GRO2LAM.svg?branch=27ene19)](https://travis-ci.org/hernanchavezthielemann/GRO2LAM)
python 2.7 [![Build](https://github.com/hernanchavezthielemann/GRO2LAM/actions/workflows/Build_Py2.yml/badge.svg)](https://github.com/hernanchavezthielemann/GRO2LAM/actions/workflows/Build_Py2.yml)

# GRO2LAM
Gromacs to Lammps simulation converter
Expand Down