Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
Fixed file path to ADT_code.
Browse files Browse the repository at this point in the history
  • Loading branch information
inesiscosta committed Nov 5, 2023
1 parent 40cdbf2 commit a40704e
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Tests

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'

- name: Install pytest
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Run tests
run: |
python -m pytest -v --tb=short test_public.py test_private.py
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__pycache__/
4 changes: 2 additions & 2 deletions test_private.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# pylint: skip-file
import pytest
import sys
project_filename = '/Users/inescosta/Documents/IST/FProg/proj2/github/Go.py'
ADT_CODE_PATH = '/Users/inescosta/Documents/IST/FProg/proj2/github/ADT_code/'
project_filename = 'Go.py'
ADT_CODE_PATH = '/ADT_code/'
from Go import *

@pytest.fixture(autouse=True)
Expand Down

0 comments on commit a40704e

Please sign in to comment.