atompm_test.yml 807 B

123456789101112131415161718192021222324252627282930313233343536
  1. name: ATOMPM_CI
  2. on: [push, pull_request]
  3. jobs:
  4. test:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v2
  8. - name: npm install
  9. uses: actions/setup-node@v1
  10. with:
  11. node-version: 12.x
  12. - name: setup chromedriver
  13. uses: nanasess/setup-chromedriver@master
  14. - name: npm run
  15. run: npm ci
  16. env:
  17. DETECT_CHROMEDRIVER_VERSION: true
  18. - name: install igraph
  19. run: |
  20. sudo apt-get install python3-setuptools
  21. pip3 install wheel
  22. pip3 install --user python-igraph
  23. - name: run tests
  24. run: |
  25. google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
  26. xvfb-run --server-args="-screen 0 2880x1800x24" ./run_tests.sh